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.0009735/0.0009736, allocations: 90.64 kB / 16.65 MB, free: 6.602 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.001051/0.001051, allocations: 184.9 kB / 17.56 MB, free: 6.199 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.176/1.176, allocations: 223.3 MB / 241.6 MB, free: 104 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1573/0.1573, allocations: 38.1 MB / 330.8 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002892, allocations: 9.469 kB / 400.7 MB, free: 34.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0874/0.0877, allocations: 59.16 MB / 459.9 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.008622/0.09636, allocations: 8.754 MB / 468.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004586/0.101, allocations: 2.816 MB / 471.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008545/0.1019, allocations: 55.62 kB / 471.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007117/0.1026, allocations: 222.5 kB / 471.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.1038, allocations: 477.9 kB / 472.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.1049, allocations: 395.3 kB / 472.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001968/0.1069, allocations: 1.98 MB / 474.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001649/0.1085, allocations: 1.138 MB / 475.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007633/0.1093, allocations: 465.8 kB / 476.1 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009749/0.1103, allocations: 0.6696 MB / 476.8 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.1104, allocations: 44 kB / 476.9 MB, free: 6.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004974/0.111, allocations: 239.6 kB / 477.1 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004141/0.1114, allocations: 466.7 kB / 477.5 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000545/0.1119, allocations: 0.5107 MB / 478.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.1131, allocations: 1.257 MB / 479.3 MB, free: 3.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1131, allocations: 0 / 479.3 MB, free: 3.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1131, allocations: 0 / 479.3 MB, free: 3.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.76e-05/0.1131, allocations: 4 kB / 479.3 MB, free: 3.539 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.002095/0.1152, allocations: 1.14 MB / 480.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.1153, allocations: 16.03 kB / 480.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.1164, allocations: 183.5 kB / 480.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.1175, allocations: 0.7037 MB / 481.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.312e-05/0.1175, allocations: 58.38 kB / 481.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002753/0.1178, allocations: 124 kB / 481.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/0.1195, allocations: 1.216 MB / 482.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.1195, allocations: 7.938 kB / 482.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.958e-05/0.1196, allocations: 39.89 kB / 482.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002377/0.1198, allocations: 65.95 kB / 482.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.1214, allocations: 1.007 MB / 483.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005091/0.1265, allocations: 4.729 MB / 488.6 MB, free: 9.883 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009615/0.1274, allocations: 0.6759 MB / 489.3 MB, free: 9.184 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005804/0.128, allocations: 469.5 kB / 489.7 MB, free: 8.723 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.347e-05/0.1281, allocations: 4.562 kB / 489.7 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006768/0.1288, allocations: 0.526 MB / 490.3 MB, free: 8.156 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 2.555e-06/0.1288, allocations: 0 / 490.3 MB, free: 8.156 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.004383/0.1332, allocations: 3.038 MB / 493.3 MB, free: 5.035 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.1333, allocations: 234.2 kB / 493.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005834/0.1339, allocations: 0.5899 MB / 494.1 MB, free: 4.156 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.763e-05/0.1339, allocations: 37.7 kB / 494.2 MB, free: 4.113 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002979/0.1342, allocations: 482.9 kB / 494.6 MB, free: 3.633 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.1345, allocations: 260.4 kB / 494.9 MB, free: 3.375 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.1346, allocations: 85.67 kB / 495 MB, free: 3.285 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1347, allocations: 386.8 kB / 495.3 MB, free: 2.898 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005508/0.1353, allocations: 389.8 kB / 495.7 MB, free: 2.516 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006769/0.136, allocations: 0.6379 MB / 496.4 MB, free: 1.766 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.004833/0.1408, allocations: 2.221 MB / 498.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.1408, allocations: 4 kB / 498.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002904/0.1437, allocations: 1.661 MB / 0.4885 GB, free: 13.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/0.1438, allocations: 41.58 kB / 0.4886 GB, free: 13.7 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.0005968/0.1444, allocations: 405.5 kB / 0.4889 GB, free: 13.3 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated