Skip to content

Commit

Permalink
Test recovered models against Model Compiler 2.1.1-Bravo+ #97
Browse files Browse the repository at this point in the history
- IEC61850 regenerated using  ModelDesign Compiler (mdc.exe) Version: 3.0.0.41853
  • Loading branch information
mpostol committed Apr 19, 2022
1 parent 13018c8 commit e26218b
Show file tree
Hide file tree
Showing 7 changed files with 79 additions and 15 deletions.
30 changes: 15 additions & 15 deletions IEC61850/ModelDesign/GoNodeSet.cmd
Original file line number Diff line number Diff line change
@@ -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

14 changes: 14 additions & 0 deletions IEC61850/ModelDesign/IEC61850-6/mdc.log
Original file line number Diff line number Diff line change
@@ -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";;;;;;
10 changes: 10 additions & 0 deletions IEC61850/ModelDesign/IEC61850-6/mdc.warnings.log
Original file line number Diff line number Diff line change
@@ -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";;;;;;
12 changes: 12 additions & 0 deletions IEC61850/ModelDesign/IEC61850-7-3/mdc.log
Original file line number Diff line number Diff line change
@@ -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";;;;;;
8 changes: 8 additions & 0 deletions IEC61850/ModelDesign/IEC61850-7-3/mdc.warnings.log
Original file line number Diff line number Diff line change
@@ -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";;;;;;
12 changes: 12 additions & 0 deletions IEC61850/ModelDesign/IEC61850-7-4/mdc.log
Original file line number Diff line number Diff line change
@@ -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";;;;;;
8 changes: 8 additions & 0 deletions IEC61850/ModelDesign/IEC61850-7-4/mdc.warnings.log
Original file line number Diff line number Diff line change
@@ -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";;;;;;

0 comments on commit e26218b

Please sign in to comment.