Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.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.Generation.PowerAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle") translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007175/0.0007175, allocations: 94.67 kB / 16.95 MB, free: 5.676 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.0007524/0.0007523, allocations: 185.8 kB / 17.85 MB, free: 5.32 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.318/1.318, allocations: 223.3 MB / 241.9 MB, free: 14.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1712/0.1712, allocations: 38.09 MB / 331.1 MB, free: 8.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002924/0.0002925, allocations: 8 kB / 400.7 MB, free: 34.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1051, allocations: 59.15 MB / 459.9 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.008528/0.1137, allocations: 7.767 MB / 467.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005662/0.1194, allocations: 3.153 MB / 470.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000699/0.1202, allocations: 51.62 kB / 470.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005727/0.1207, allocations: 214.5 kB / 471 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.1225, allocations: 0.7077 MB / 471.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.1236, allocations: 347.4 kB / 472.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001712/0.1253, allocations: 1.597 MB / 473.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/0.1267, allocations: 0.9367 MB / 474.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006883/0.1274, allocations: 450 kB / 475.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008148/0.1283, allocations: 0.6113 MB / 475.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.818e-05/0.1284, allocations: 39.94 kB / 475.7 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007039/0.1291, allocations: 367.3 kB / 476.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000386/0.1295, allocations: 430.9 kB / 476.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002094/0.1297, allocations: 201.3 kB / 476.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009984/0.1307, allocations: 1.06 MB / 477.7 MB, free: 5.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1307, allocations: 0 / 477.7 MB, free: 5.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1307, allocations: 0 / 477.7 MB, free: 5.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.1307, allocations: 0 / 477.7 MB, free: 5.418 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001852/0.1326, allocations: 1.09 MB / 478.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1326, allocations: 8.031 kB / 478.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.1337, allocations: 198.6 kB / 479 MB, free: 4.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.1349, allocations: 0.6776 MB / 479.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.905e-05/0.135, allocations: 58 kB / 479.8 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/0.1352, allocations: 99.88 kB / 479.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.1368, allocations: 1.103 MB / 481 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.1368, allocations: 11.94 kB / 481 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.121e-05/0.1369, allocations: 35.98 kB / 481 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001478/0.1371, allocations: 73.95 kB / 481.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.1384, allocations: 0.8782 MB / 482 MB, free: 1.051 MB / 350.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.004971/0.1434, allocations: 4.089 MB / 486.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006538/0.1441, allocations: 418.3 kB / 486.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003913/0.1445, allocations: 265.6 kB / 486.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.031e-05/0.1446, allocations: 7.984 kB / 486.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.1446, allocations: 38.5 kB / 486.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 3.937e-06/0.1446, allocations: 0 / 486.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=52): time 0.004259/0.1489, allocations: 1.988 MB / 488.8 MB, free: 9.938 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.149, allocations: 81.55 kB / 488.8 MB, free: 9.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007092/0.1497, allocations: 0.5615 MB / 489.4 MB, free: 9.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/0.1497, allocations: 33.83 kB / 489.4 MB, free: 9.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003299/0.1501, allocations: 474.4 kB / 489.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.1502, allocations: 193.3 kB / 490.1 MB, free: 8.566 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.1503, allocations: 16 kB / 490.1 MB, free: 8.551 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1504, allocations: 374.8 kB / 490.5 MB, free: 8.176 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.1508, allocations: 269.8 kB / 490.7 MB, free: 7.914 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005667/0.1514, allocations: 0.4964 MB / 491.2 MB, free: 7.309 MB / 366.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.00266/0.1541, allocations: 1.041 MB / 492.3 MB, free: 6.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.1541, allocations: 0 / 492.3 MB, free: 6.25 MB / 366.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