From e26218bfcb2a2df1f54bbd23f3b167a559158bac Mon Sep 17 00:00:00 2001 From: MPostol Date: Tue, 19 Apr 2022 23:18:28 +0200 Subject: [PATCH] Test recovered models against Model Compiler 2.1.1-Bravo+ #97 - IEC61850 regenerated using ModelDesign Compiler (mdc.exe) Version: 3.0.0.41853 --- IEC61850/ModelDesign/GoNodeSet.cmd | 30 +++++++++---------- IEC61850/ModelDesign/IEC61850-6/mdc.log | 14 +++++++++ .../ModelDesign/IEC61850-6/mdc.warnings.log | 10 +++++++ IEC61850/ModelDesign/IEC61850-7-3/mdc.log | 12 ++++++++ .../ModelDesign/IEC61850-7-3/mdc.warnings.log | 8 +++++ IEC61850/ModelDesign/IEC61850-7-4/mdc.log | 12 ++++++++ .../ModelDesign/IEC61850-7-4/mdc.warnings.log | 8 +++++ 7 files changed, 79 insertions(+), 15 deletions(-) create mode 100644 IEC61850/ModelDesign/IEC61850-6/mdc.log create mode 100644 IEC61850/ModelDesign/IEC61850-6/mdc.warnings.log create mode 100644 IEC61850/ModelDesign/IEC61850-7-3/mdc.log create mode 100644 IEC61850/ModelDesign/IEC61850-7-3/mdc.warnings.log create mode 100644 IEC61850/ModelDesign/IEC61850-7-4/mdc.log create mode 100644 IEC61850/ModelDesign/IEC61850-7-4/mdc.warnings.log diff --git a/IEC61850/ModelDesign/GoNodeSet.cmd b/IEC61850/ModelDesign/GoNodeSet.cmd index 370a09e9..9e98be31 100644 --- a/IEC61850/ModelDesign/GoNodeSet.cmd +++ b/IEC61850/ModelDesign/GoNodeSet.cmd @@ -1,20 +1,20 @@ set COMPILER=mdc -del %1\OOIMC.log /q -del %1\OOIMC.warnings.log /q -"%1\%COMPILER%" -d2 "Opc.Ua.IEC61850-7-3.Model.xml" -cg "Opc.Ua.IEC61850-7-3.csv" -o "IEC61850-7-3" -xcopy %1\OOIMC.log .\IEC61850-7-3\OOIMC.log /y /i -xcopy %1\OOIMC.warnings.log .\IEC61850-7-3\OOIMC.warnings.log /y /i +del %1\mdc.log /q +del %1\mdc.warnings.log /q +"%1\%COMPILER%" compile --d2 "Opc.Ua.IEC61850-7-3.Model.xml" -c "Opc.Ua.IEC61850-7-3.csv" --o2 "IEC61850-7-3" +xcopy %1\mdc.log .\IEC61850-7-3\mdc.log /y /i +xcopy %1\mdc.warnings.log .\IEC61850-7-3\mdc.warnings.log /y /i -del %1\OOIMC.log /q -del %1\OOIMC.warnings.log /q -"%1\%COMPILER%" -d2 "Opc.Ua.IEC61850-6.Model.xml" -cg "Opc.Ua.IEC61850-6.csv" -o "IEC61850-6" -xcopy %1\OOIMC.log .\IEC61850-6\OOIMC.log /y /i -xcopy %1\OOIMC.warnings.log .\IEC61850-6\OOIMC.warnings.log /y /i +del %1\mdc.log /q +del %1\mdc.warnings.log /q +"%1\%COMPILER%" compile --d2 "Opc.Ua.IEC61850-6.Model.xml" -c "Opc.Ua.IEC61850-6.csv" --o2 "IEC61850-6" +xcopy %1\mdc.log .\IEC61850-6\mdc.log /y /i +xcopy %1\mdc.warnings.log .\IEC61850-6\mdc.warnings.log /y /i -del %1\OOIMC.log /q -del %1\OOIMC.warnings.log /q -"%1\%COMPILER%" -d2 "Opc.Ua.IEC61850-7-4.Model.xml" -cg "Opc.Ua.IEC61850-7-4.csv" -o "IEC61850-7-4" -xcopy %1\OOIMC.log .\IEC61850-7-4\OOIMC.log /y /i -xcopy %1\OOIMC.warnings.log .\IEC61850-7-4\OOIMC.warnings.log /y /i +del %1\mdc.log /q +del %1\mdc.warnings.log /q +"%1\%COMPILER%" compile --d2 "Opc.Ua.IEC61850-7-4.Model.xml" -c "Opc.Ua.IEC61850-7-4.csv" --o2 "IEC61850-7-4" +xcopy %1\mdc.log .\IEC61850-7-4\mdc.log /y /i +xcopy %1\mdc.warnings.log .\IEC61850-7-4\mdc.warnings.log /y /i diff --git a/IEC61850/ModelDesign/IEC61850-6/mdc.log b/IEC61850/ModelDesign/IEC61850-6/mdc.log new file mode 100644 index 00000000..109504eb --- /dev/null +++ b/IEC61850/ModelDesign/IEC61850-6/mdc.log @@ -0,0 +1,14 @@ +"ModelCompilerUI";Verbose;716624168;;"Trace: Verbose, Error Focus:Diagnostic, ErrorID: P0-0003010000 Info: It is diagnostic information ModelDesign Compiler (mdc.exe) Version: 3.0.0.41853";;;;;; +"ModelCompilerUI";Verbose;716624169;;"Trace: Verbose, Error Focus:Diagnostic, ErrorID: P0-0003010000 Info: It is diagnostic information Copyright(c) 2022 Mariusz Postol";;;;;; +"ModelCompilerUI";Verbose;499457465;;"Trace: Verbose, Error Focus:Diagnostic, ErrorID: P0-0003010000 Info: It is diagnostic information Started Compile with parameters compile -c Opc.Ua.IEC61850-6.csv --d2 Opc.Ua.IEC61850-6.Model.xml --o2 IEC61850-6 --spec v104";;;;;; +"ModelCompilerUI";Information;552021345;;"Trace: Information, Error Focus:NonCategorized, ErrorID: P0-0002010000 Info: General processing error see trace for details. Compilation ended with error InvalidOperationException: The DataType reference for node ValueWithUnit is not valid: Unit. + at OOI.ModelCompiler.ModelCompilerValidator.FindNode(XmlQualifiedName symbolicId, Type requiredType, String sourceName, String referenceName) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 3602 + at OOI.ModelCompiler.ModelCompilerValidator.ValidateParameters(NodeDesign node, Parameter[] parameters) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 3549 + at OOI.ModelCompiler.ModelCompilerValidator.ValidateType(TypeDesign type) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 3322 + at OOI.ModelCompiler.ModelCompilerValidator.Validate(NodeDesign node) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 3157 + at OOI.ModelCompiler.ModelCompilerValidator.ValidateDictionary(ModelDesign dictionary) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 765 + at OOI.ModelCompiler.ModelCompilerValidator.Validate2(IList`1 designFilePaths, String identifierFilePath, Boolean generateIds) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 1226 + at OOI.ModelCompiler.ModelGenerator2.ValidateAndUpdateIds(IList`1 designFilePaths, String identifierFilePath, UInt32 startId, String specificationVersion, Boolean useAllowSubtypes, IList`1 exclusions, String modelVersion, String modelPublicationDate, Boolean releaseCandidate) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelGenerator2.cs:line 118 + at OOI.ModelCompiler.ModelDesignCompiler.BuildModel(ICompilerOptions options) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelCompiler.cs:line 15 + at OOI.ModelCompilerUI.EntryPoint.Compile(CompilerOptions options) in C:\VS.git\github.mpostol\UA-ModelCompiler\ModelCompilerUI\EntryPoint.cs:line 98";;;;;; +"ModelCompilerUI";Verbose;1560515041;;"Trace: Verbose, Error Focus:Diagnostic, ErrorID: P0-0003010000 Info: It is diagnostic information Execution time = 2s";;;;;; diff --git a/IEC61850/ModelDesign/IEC61850-6/mdc.warnings.log b/IEC61850/ModelDesign/IEC61850-6/mdc.warnings.log new file mode 100644 index 00000000..81b571a5 --- /dev/null +++ b/IEC61850/ModelDesign/IEC61850-6/mdc.warnings.log @@ -0,0 +1,10 @@ +"ModelCompilerUI";Information;552021345;;"Trace: Information, Error Focus:NonCategorized, ErrorID: P0-0002010000 Info: General processing error see trace for details. Compilation ended with error InvalidOperationException: The DataType reference for node ValueWithUnit is not valid: Unit. + at OOI.ModelCompiler.ModelCompilerValidator.FindNode(XmlQualifiedName symbolicId, Type requiredType, String sourceName, String referenceName) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 3602 + at OOI.ModelCompiler.ModelCompilerValidator.ValidateParameters(NodeDesign node, Parameter[] parameters) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 3549 + at OOI.ModelCompiler.ModelCompilerValidator.ValidateType(TypeDesign type) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 3322 + at OOI.ModelCompiler.ModelCompilerValidator.Validate(NodeDesign node) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 3157 + at OOI.ModelCompiler.ModelCompilerValidator.ValidateDictionary(ModelDesign dictionary) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 765 + at OOI.ModelCompiler.ModelCompilerValidator.Validate2(IList`1 designFilePaths, String identifierFilePath, Boolean generateIds) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 1226 + at OOI.ModelCompiler.ModelGenerator2.ValidateAndUpdateIds(IList`1 designFilePaths, String identifierFilePath, UInt32 startId, String specificationVersion, Boolean useAllowSubtypes, IList`1 exclusions, String modelVersion, String modelPublicationDate, Boolean releaseCandidate) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelGenerator2.cs:line 118 + at OOI.ModelCompiler.ModelDesignCompiler.BuildModel(ICompilerOptions options) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelCompiler.cs:line 15 + at OOI.ModelCompilerUI.EntryPoint.Compile(CompilerOptions options) in C:\VS.git\github.mpostol\UA-ModelCompiler\ModelCompilerUI\EntryPoint.cs:line 98";;;;;; diff --git a/IEC61850/ModelDesign/IEC61850-7-3/mdc.log b/IEC61850/ModelDesign/IEC61850-7-3/mdc.log new file mode 100644 index 00000000..9006cabd --- /dev/null +++ b/IEC61850/ModelDesign/IEC61850-7-3/mdc.log @@ -0,0 +1,12 @@ +"ModelCompilerUI";Verbose;716624168;;"Trace: Verbose, Error Focus:Diagnostic, ErrorID: P0-0003010000 Info: It is diagnostic information ModelDesign Compiler (mdc.exe) Version: 3.0.0.41853";;;;;; +"ModelCompilerUI";Verbose;716624169;;"Trace: Verbose, Error Focus:Diagnostic, ErrorID: P0-0003010000 Info: It is diagnostic information Copyright(c) 2022 Mariusz Postol";;;;;; +"ModelCompilerUI";Verbose;499457465;;"Trace: Verbose, Error Focus:Diagnostic, ErrorID: P0-0003010000 Info: It is diagnostic information Started Compile with parameters compile -c Opc.Ua.IEC61850-7-3.csv --d2 Opc.Ua.IEC61850-7-3.Model.xml --o2 IEC61850-7-3 --spec v104";;;;;; +"ModelCompilerUI";Information;552021345;;"Trace: Information, Error Focus:NonCategorized, ErrorID: P0-0002010000 Info: General processing error see trace for details. Compilation ended with error InvalidOperationException: The node has a parameter without a name: MultiplierKind. + at OOI.ModelCompiler.ModelCompilerValidator.ImportParameters(NodeDesign node, Parameter[]& parameters, String parameterType) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 3051 + at OOI.ModelCompiler.ModelCompilerValidator.ImportType(TypeDesign type) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 2756 + at OOI.ModelCompiler.ModelCompilerValidator.Import(NodeDesign node, NodeDesign parent) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 2358 + at OOI.ModelCompiler.ModelCompilerValidator.Validate2(IList`1 designFilePaths, String identifierFilePath, Boolean generateIds) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 1211 + at OOI.ModelCompiler.ModelGenerator2.ValidateAndUpdateIds(IList`1 designFilePaths, String identifierFilePath, UInt32 startId, String specificationVersion, Boolean useAllowSubtypes, IList`1 exclusions, String modelVersion, String modelPublicationDate, Boolean releaseCandidate) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelGenerator2.cs:line 118 + at OOI.ModelCompiler.ModelDesignCompiler.BuildModel(ICompilerOptions options) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelCompiler.cs:line 15 + at OOI.ModelCompilerUI.EntryPoint.Compile(CompilerOptions options) in C:\VS.git\github.mpostol\UA-ModelCompiler\ModelCompilerUI\EntryPoint.cs:line 98";;;;;; +"ModelCompilerUI";Verbose;1560515041;;"Trace: Verbose, Error Focus:Diagnostic, ErrorID: P0-0003010000 Info: It is diagnostic information Execution time = 1s";;;;;; diff --git a/IEC61850/ModelDesign/IEC61850-7-3/mdc.warnings.log b/IEC61850/ModelDesign/IEC61850-7-3/mdc.warnings.log new file mode 100644 index 00000000..88372762 --- /dev/null +++ b/IEC61850/ModelDesign/IEC61850-7-3/mdc.warnings.log @@ -0,0 +1,8 @@ +"ModelCompilerUI";Information;552021345;;"Trace: Information, Error Focus:NonCategorized, ErrorID: P0-0002010000 Info: General processing error see trace for details. Compilation ended with error InvalidOperationException: The node has a parameter without a name: MultiplierKind. + at OOI.ModelCompiler.ModelCompilerValidator.ImportParameters(NodeDesign node, Parameter[]& parameters, String parameterType) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 3051 + at OOI.ModelCompiler.ModelCompilerValidator.ImportType(TypeDesign type) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 2756 + at OOI.ModelCompiler.ModelCompilerValidator.Import(NodeDesign node, NodeDesign parent) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 2358 + at OOI.ModelCompiler.ModelCompilerValidator.Validate2(IList`1 designFilePaths, String identifierFilePath, Boolean generateIds) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 1211 + at OOI.ModelCompiler.ModelGenerator2.ValidateAndUpdateIds(IList`1 designFilePaths, String identifierFilePath, UInt32 startId, String specificationVersion, Boolean useAllowSubtypes, IList`1 exclusions, String modelVersion, String modelPublicationDate, Boolean releaseCandidate) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelGenerator2.cs:line 118 + at OOI.ModelCompiler.ModelDesignCompiler.BuildModel(ICompilerOptions options) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelCompiler.cs:line 15 + at OOI.ModelCompilerUI.EntryPoint.Compile(CompilerOptions options) in C:\VS.git\github.mpostol\UA-ModelCompiler\ModelCompilerUI\EntryPoint.cs:line 98";;;;;; diff --git a/IEC61850/ModelDesign/IEC61850-7-4/mdc.log b/IEC61850/ModelDesign/IEC61850-7-4/mdc.log new file mode 100644 index 00000000..4d3b5c98 --- /dev/null +++ b/IEC61850/ModelDesign/IEC61850-7-4/mdc.log @@ -0,0 +1,12 @@ +"ModelCompilerUI";Verbose;716624168;;"Trace: Verbose, Error Focus:Diagnostic, ErrorID: P0-0003010000 Info: It is diagnostic information ModelDesign Compiler (mdc.exe) Version: 3.0.0.41853";;;;;; +"ModelCompilerUI";Verbose;716624169;;"Trace: Verbose, Error Focus:Diagnostic, ErrorID: P0-0003010000 Info: It is diagnostic information Copyright(c) 2022 Mariusz Postol";;;;;; +"ModelCompilerUI";Verbose;499457465;;"Trace: Verbose, Error Focus:Diagnostic, ErrorID: P0-0003010000 Info: It is diagnostic information Started Compile with parameters compile -c Opc.Ua.IEC61850-7-4.csv --d2 Opc.Ua.IEC61850-7-4.Model.xml --o2 IEC61850-7-4 --spec v104";;;;;; +"ModelCompilerUI";Information;552021345;;"Trace: Information, Error Focus:NonCategorized, ErrorID: P0-0002010000 Info: General processing error see trace for details. Compilation ended with error InvalidOperationException: The BaseType reference for node CommonLN is not valid: IEC61850LNodeBaseObjectType. + at OOI.ModelCompiler.ModelCompilerValidator.FindNode(XmlQualifiedName symbolicId, Type requiredType, String sourceName, String referenceName) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 3602 + at OOI.ModelCompiler.ModelCompilerValidator.ImportType(TypeDesign type) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 2644 + at OOI.ModelCompiler.ModelCompilerValidator.Import(NodeDesign node, NodeDesign parent) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 2358 + at OOI.ModelCompiler.ModelCompilerValidator.Validate2(IList`1 designFilePaths, String identifierFilePath, Boolean generateIds) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 1211 + at OOI.ModelCompiler.ModelGenerator2.ValidateAndUpdateIds(IList`1 designFilePaths, String identifierFilePath, UInt32 startId, String specificationVersion, Boolean useAllowSubtypes, IList`1 exclusions, String modelVersion, String modelPublicationDate, Boolean releaseCandidate) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelGenerator2.cs:line 118 + at OOI.ModelCompiler.ModelDesignCompiler.BuildModel(ICompilerOptions options) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelCompiler.cs:line 15 + at OOI.ModelCompilerUI.EntryPoint.Compile(CompilerOptions options) in C:\VS.git\github.mpostol\UA-ModelCompiler\ModelCompilerUI\EntryPoint.cs:line 98";;;;;; +"ModelCompilerUI";Verbose;1560515041;;"Trace: Verbose, Error Focus:Diagnostic, ErrorID: P0-0003010000 Info: It is diagnostic information Execution time = 2s";;;;;; diff --git a/IEC61850/ModelDesign/IEC61850-7-4/mdc.warnings.log b/IEC61850/ModelDesign/IEC61850-7-4/mdc.warnings.log new file mode 100644 index 00000000..c7bdea3a --- /dev/null +++ b/IEC61850/ModelDesign/IEC61850-7-4/mdc.warnings.log @@ -0,0 +1,8 @@ +"ModelCompilerUI";Information;552021345;;"Trace: Information, Error Focus:NonCategorized, ErrorID: P0-0002010000 Info: General processing error see trace for details. Compilation ended with error InvalidOperationException: The BaseType reference for node CommonLN is not valid: IEC61850LNodeBaseObjectType. + at OOI.ModelCompiler.ModelCompilerValidator.FindNode(XmlQualifiedName symbolicId, Type requiredType, String sourceName, String referenceName) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 3602 + at OOI.ModelCompiler.ModelCompilerValidator.ImportType(TypeDesign type) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 2644 + at OOI.ModelCompiler.ModelCompilerValidator.Import(NodeDesign node, NodeDesign parent) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 2358 + at OOI.ModelCompiler.ModelCompilerValidator.Validate2(IList`1 designFilePaths, String identifierFilePath, Boolean generateIds) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelDesignerValidator.cs:line 1211 + at OOI.ModelCompiler.ModelGenerator2.ValidateAndUpdateIds(IList`1 designFilePaths, String identifierFilePath, UInt32 startId, String specificationVersion, Boolean useAllowSubtypes, IList`1 exclusions, String modelVersion, String modelPublicationDate, Boolean releaseCandidate) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelGenerator2.cs:line 118 + at OOI.ModelCompiler.ModelDesignCompiler.BuildModel(ICompilerOptions options) in C:\VS.git\github.mpostol\UA-ModelCompiler\Opc.Ua.ModelCompiler\ModelCompiler.cs:line 15 + at OOI.ModelCompilerUI.EntryPoint.Compile(CompilerOptions options) in C:\VS.git\github.mpostol\UA-ModelCompiler\ModelCompilerUI\EntryPoint.cs:line 98";;;;;;