Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleLine.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.DoubleLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="Time|abc.i_abc.1.|abc.i_abc.2.|abc.i_abc.3.|meterF.i.1.|meterF.i.2.|meterF.i.3.|meterF.p.1.|meterF.p.2.|meterF.p.3.|meterF.v.1.|meterF.v.2.|meterF.v.3.|meterL.i.1.|meterL.i.2.|meterL.i.3.|meterL.p.1.|meterL.p.2.|meterL.p.3.|meterL.v.1.|meterL.v.2.|meterL.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleLine") translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="Time|abc.i_abc.1.|abc.i_abc.2.|abc.i_abc.3.|meterF.i.1.|meterF.i.2.|meterF.i.3.|meterF.p.1.|meterF.p.2.|meterF.p.3.|meterF.v.1.|meterF.v.2.|meterF.v.3.|meterL.i.1.|meterL.i.2.|meterL.i.3.|meterL.p.1.|meterL.p.2.|meterL.p.3.|meterL.v.1.|meterL.v.2.|meterL.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008639/0.000864, allocations: 96.52 kB / 16.3 MB, free: 5.656 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.0008113/0.0008113, allocations: 183.2 kB / 17.2 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.205/1.205, allocations: 223.2 MB / 241.1 MB, free: 14.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1554/0.1554, allocations: 38.08 MB / 330.3 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002692/0.0002692, allocations: 9.281 kB / 400 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09113/0.09141, allocations: 59.16 MB / 459.1 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleLine): time 0.009082/0.1005, allocations: 10.13 MB / 469.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006587/0.1072, allocations: 4.288 MB / 473.6 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.1082, allocations: 59.56 kB / 473.6 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009305/0.1091, allocations: 385.8 kB / 474 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002436/0.1116, allocations: 0.923 MB / 474.9 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002064/0.1137, allocations: 0.7953 MB / 475.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001716/0.1154, allocations: 1.339 MB / 477 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0021/0.1175, allocations: 1.409 MB / 478.5 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.1188, allocations: 0.8564 MB / 479.3 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001439/0.1203, allocations: 1.181 MB / 480.5 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001859/0.1205, allocations: 92 kB / 480.6 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.1217, allocations: 0.5812 MB / 481.2 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008512/0.1225, allocations: 0.912 MB / 482.1 MB, free: 400 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004144/0.1229, allocations: 384.6 kB / 482.4 MB, free: 8 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001962/0.1249, allocations: 2.206 MB / 484.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.1249, allocations: 0 / 484.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1249, allocations: 0 / 484.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.491e-05/0.125, allocations: 0 / 484.7 MB, free: 13.8 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.003943/0.1289, allocations: 2.201 MB / 486.9 MB, free: 11.51 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.1289, allocations: 8.031 kB / 486.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002198/0.1312, allocations: 421 kB / 487.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/0.1334, allocations: 1.195 MB / 488.5 MB, free: 9.848 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.1335, allocations: 123 kB / 488.6 MB, free: 9.727 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007606/0.1343, allocations: 355.6 kB / 488.9 MB, free: 9.379 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003755/0.138, allocations: 2.878 MB / 491.8 MB, free: 6.375 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.775e-05/0.1381, allocations: 7.938 kB / 491.8 MB, free: 6.367 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001819/0.1383, allocations: 67.97 kB / 491.9 MB, free: 6.301 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001118/0.1394, allocations: 235.1 kB / 492.1 MB, free: 6.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003447/0.1428, allocations: 2.492 MB / 494.6 MB, free: 3.574 MB / 366.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.01437/0.1572, allocations: 10.78 MB / 0.4935 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003162/0.1604, allocations: 2.563 MB / 0.496 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.1605, allocations: 26.05 kB / 0.4961 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002395/0.1629, allocations: 1.861 MB / 0.4979 GB, free: 3.855 MB / 382.1 MB Notification: Performance of pre-optimization done (n=243): time 4.728e-06/0.163, allocations: 0 / 0.4979 GB, free: 3.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=246): time 0.191/0.354, allocations: 8.84 MB / 0.5065 GB, free: 53.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.3541, allocations: 277 kB / 0.5068 GB, free: 52.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.3555, allocations: 1.008 MB / 0.5078 GB, free: 52.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001642/0.3557, allocations: 77.19 kB / 0.5078 GB, free: 52.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005344/0.3562, allocations: 0.7659 MB / 0.5086 GB, free: 51.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005977/0.3568, allocations: 0.8225 MB / 0.5094 GB, free: 51.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.357, allocations: 47.62 kB / 0.5094 GB, free: 51.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.3571, allocations: 436.5 kB / 0.5099 GB, free: 50.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002019/0.3592, allocations: 1.427 MB / 0.5113 GB, free: 50.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002565/0.3617, allocations: 2.005 MB / 0.5132 GB, free: 49.32 MB / 382.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01461/0.3764, allocations: 4.74 MB / 0.5178 GB, free: 48.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.921e-05/0.3764, allocations: 8.109 kB / 0.5178 GB, free: 48.18 MB / 382.1 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: No system for the symbolic initialization was generated