Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleLineTG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleLineTG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6666,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleLineTG") translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleLineTG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6666,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleLineTG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 109.2 kB / 17.74 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 184.3 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.178/0.178, allocations: 37.98 MB / 309.9 MB, free: 5.953 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 71.91 kB / 432.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1058, allocations: 55.24 MB / 487.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleLineTG): time 0.01411/0.1199, allocations: 13.59 MB / 0.4896 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01372/0.1337, allocations: 8.324 MB / 0.4978 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001762/0.1355, allocations: 51.69 kB / 0.4978 GB, free: 2.285 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1895:3-1973:18:writable] Warning: Pure function 'Modelica.Math.Matrices.eigenValues' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgeev_eigenValues'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. Notification: Performance of NFTyping.typeComponents: time 0.3169/0.4525, allocations: 91.25 MB / 0.5869 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003153/0.4556, allocations: 1.562 MB / 0.5884 GB, free: 480 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002522/0.4582, allocations: 1.239 MB / 0.5897 GB, free: 15.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02031/0.4785, allocations: 14.86 MB / 0.6042 GB, free: 1.465 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002366/0.4809, allocations: 1.629 MB / 0.6058 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03205/0.513, allocations: 23.68 MB / 0.6289 GB, free: 8.992 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003145/0.5162, allocations: 2.167 MB / 0.631 GB, free: 6.969 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006337/0.5168, allocations: 268 kB / 0.6313 GB, free: 6.707 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.5189, allocations: 1.052 MB / 0.6323 GB, free: 5.688 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001288/0.5202, allocations: 1.463 MB / 0.6337 GB, free: 4.23 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001748/0.522, allocations: 1.575 MB / 0.6352 GB, free: 2.66 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004576/0.5265, allocations: 4.346 MB / 0.6395 GB, free: 14.41 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5266, allocations: 0 / 0.6395 GB, free: 14.41 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5266, allocations: 4 kB / 0.6395 GB, free: 14.41 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.064e-05/0.5266, allocations: 0 / 0.6395 GB, free: 14.41 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 613 * Number of variables: 613 Notification: Performance of Generate backend data structure: time 0.006891/0.5335, allocations: 3.409 MB / 0.6428 GB, free: 10.94 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.5336, allocations: 15.89 kB / 0.6428 GB, free: 10.93 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00277/0.5364, allocations: 0.5196 MB / 0.6433 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004108/0.5405, allocations: 1.996 MB / 0.6453 GB, free: 8.387 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.5406, allocations: 163.3 kB / 0.6455 GB, free: 8.234 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009127/0.5415, allocations: 412.8 kB / 0.6458 GB, free: 7.844 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005253/0.5468, allocations: 3.617 MB / 0.6494 GB, free: 4.09 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.495e-05/0.5469, allocations: 16.67 kB / 0.6494 GB, free: 4.074 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002352/0.5471, allocations: 88.67 kB / 0.6495 GB, free: 3.996 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001248/0.5484, allocations: 291.9 kB / 0.6498 GB, free: 3.707 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004968/0.5534, allocations: 3.182 MB / 0.6529 GB, free: 0.5078 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01747/0.5708, allocations: 13.02 MB / 0.6656 GB, free: 3.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003987/0.5748, allocations: 2.967 MB / 0.6685 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002645/0.5775, allocations: 1.886 MB / 0.6703 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/0.5777, allocations: 33.91 kB / 0.6704 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002882/0.5805, allocations: 2.172 MB / 0.6725 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=285): time 5.28e-06/0.5806, allocations: 0 / 0.6725 GB, free: 11.93 MB / 0.4981 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: 0.0 = turbGen.generator.psi_rq[2] - turbGen.generator.psi_rq[1] [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed Error: Internal error SimCode DAEmode: The model PowerSystems.Examples.AC3ph.Transmission.DoubleLineTG could not be translated