Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyInitial.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.Introductory.SimulationSteadyInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyInitial") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 110 kB / 16.51 MB, free: 6.715 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.001821/0.001821, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.426/1.426, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1801/0.1801, allocations: 38.03 MB / 329.3 MB, free: 9.094 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 62.39 kB / 398.1 MB, free: 34.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1057, allocations: 58.05 MB / 456.1 MB, free: 8.562 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.01112/0.1168, allocations: 9.234 MB / 465.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00557/0.1225, allocations: 2.859 MB / 468.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008186/0.1233, allocations: 59.62 kB / 468.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.1254, allocations: 0.803 MB / 469.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.1266, allocations: 481.9 kB / 469.6 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.1276, allocations: 399.3 kB / 470 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001875/0.1295, allocations: 1.984 MB / 471.9 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.1305, allocations: 0.6734 MB / 472.6 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008621/0.1314, allocations: 0.4899 MB / 473.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.1326, allocations: 0.7243 MB / 473.8 MB, free: 6.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001992/0.1328, allocations: 60 kB / 473.9 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007457/0.1336, allocations: 255.6 kB / 474.1 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006321/0.1342, allocations: 490.7 kB / 474.6 MB, free: 6.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009784/0.1352, allocations: 0.5091 MB / 475.1 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.1369, allocations: 1.281 MB / 476.4 MB, free: 4.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1369, allocations: 0 / 476.4 MB, free: 4.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1369, allocations: 0 / 476.4 MB, free: 4.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.482e-05/0.137, allocations: 4 kB / 476.4 MB, free: 4.211 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002901/0.1399, allocations: 1.327 MB / 477.7 MB, free: 2.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.1399, allocations: 12.03 kB / 477.8 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.1412, allocations: 187.4 kB / 477.9 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.1427, allocations: 0.6999 MB / 478.6 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/0.1427, allocations: 62.38 kB / 478.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003037/0.143, allocations: 124 kB / 478.8 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.1451, allocations: 1.223 MB / 480 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.586e-05/0.1451, allocations: 7.938 kB / 480 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.27e-05/0.1452, allocations: 35.98 kB / 480.1 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002724/0.1455, allocations: 61.97 kB / 480.1 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.1474, allocations: 1.011 MB / 481.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006653/0.154, allocations: 4.714 MB / 485.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.1552, allocations: 0.6901 MB / 486.6 MB, free: 9.672 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006452/0.1559, allocations: 461.5 kB / 487 MB, free: 9.219 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.419e-05/0.1559, allocations: 8.562 kB / 487 MB, free: 9.211 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008241/0.1568, allocations: 0.522 MB / 487.5 MB, free: 8.652 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 3.377e-06/0.1568, allocations: 8 kB / 487.5 MB, free: 8.645 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.005664/0.1625, allocations: 3.034 MB / 490.6 MB, free: 5.527 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/0.1626, allocations: 230.1 kB / 490.8 MB, free: 5.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000836/0.1635, allocations: 0.5822 MB / 491.4 MB, free: 4.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.93e-05/0.1635, allocations: 45.69 kB / 491.4 MB, free: 4.609 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004668/0.164, allocations: 482.9 kB / 491.9 MB, free: 4.129 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003498/0.1644, allocations: 260.4 kB / 492.2 MB, free: 3.871 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002879/0.1647, allocations: 166.6 kB / 492.3 MB, free: 3.703 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1648, allocations: 390.8 kB / 492.7 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006107/0.1655, allocations: 385.8 kB / 493.1 MB, free: 2.934 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007775/0.1663, allocations: 0.6379 MB / 493.7 MB, free: 2.184 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.005353/0.1716, allocations: 2.221 MB / 495.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.1716, allocations: 8 kB / 495.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003232/0.1749, allocations: 1.653 MB / 497.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.1749, allocations: 37.7 kB / 497.6 MB, free: 14.12 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. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006468/0.1756, allocations: 401.4 kB / 498 MB, free: 13.73 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated