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.001582/0.001582, allocations: 111.2 kB / 17.29 MB, free: 6.059 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.001887/0.001887, allocations: 197.3 kB / 18.21 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.066/2.066, allocations: 222.9 MB / 241.9 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2223/0.2223, allocations: 38.03 MB / 330.1 MB, free: 8.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 67.98 kB / 398.9 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1685, allocations: 58.05 MB / 457 MB, free: 8.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.01206/0.1807, allocations: 9.23 MB / 466.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005693/0.1864, allocations: 2.816 MB / 469 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009592/0.1874, allocations: 63.56 kB / 469.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002334/0.1898, allocations: 0.8094 MB / 469.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.1912, allocations: 477.9 kB / 470.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.1924, allocations: 407.3 kB / 470.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001454/0.1939, allocations: 1.317 MB / 472.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.195, allocations: 0.744 MB / 472.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008645/0.1958, allocations: 0.568 MB / 473.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.1969, allocations: 0.7476 MB / 474.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.197, allocations: 80 kB / 474.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005423/0.1975, allocations: 263.6 kB / 474.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004734/0.198, allocations: 0.5104 MB / 475 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005342/0.1986, allocations: 0.5403 MB / 475.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.1997, allocations: 1.002 MB / 476.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1997, allocations: 0 / 476.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1997, allocations: 0 / 476.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.754e-05/0.1997, allocations: 4 kB / 476.6 MB, free: 4.789 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.002615/0.2024, allocations: 1.331 MB / 477.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.2024, allocations: 15.89 kB / 477.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.2037, allocations: 187.4 kB / 478.1 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.205, allocations: 0.7038 MB / 478.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.243e-05/0.2051, allocations: 66.36 kB / 478.8 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003003/0.2054, allocations: 120 kB / 479 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/0.2074, allocations: 1.216 MB / 480.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.393e-05/0.2074, allocations: 7.938 kB / 480.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.2076, allocations: 36 kB / 480.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002959/0.2079, allocations: 61.97 kB / 480.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.2097, allocations: 1.011 MB / 481.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007879/0.2176, allocations: 4.714 MB / 486 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.2193, allocations: 0.6783 MB / 486.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009585/0.2202, allocations: 459.2 kB / 487.1 MB, free: 9.809 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.458e-05/0.2203, allocations: 20.53 kB / 487.2 MB, free: 9.789 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/0.2214, allocations: 0.5143 MB / 487.7 MB, free: 9.238 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 3.797e-06/0.2215, allocations: 8 kB / 487.7 MB, free: 9.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.006998/0.2285, allocations: 3.038 MB / 490.7 MB, free: 6.109 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001538/0.2287, allocations: 226.1 kB / 490.9 MB, free: 5.836 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009203/0.2296, allocations: 0.5901 MB / 491.5 MB, free: 5.234 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.292e-05/0.2297, allocations: 37.7 kB / 491.6 MB, free: 5.191 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004605/0.2301, allocations: 478.9 kB / 492 MB, free: 4.715 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000282/0.2304, allocations: 264.3 kB / 492.3 MB, free: 4.453 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002748/0.2307, allocations: 170.6 kB / 492.5 MB, free: 4.281 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002349/0.231, allocations: 394.7 kB / 492.8 MB, free: 3.887 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000891/0.2319, allocations: 381.8 kB / 493.2 MB, free: 3.512 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.233, allocations: 0.6418 MB / 493.9 MB, free: 2.762 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.00599/0.239, allocations: 2.236 MB / 496.1 MB, free: 420 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/0.239, allocations: 4 kB / 496.1 MB, free: 416 kB / 366.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003606/0.2426, allocations: 1.653 MB / 497.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.25e-05/0.2427, allocations: 41.7 kB / 497.8 MB, free: 14.68 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.0006977/0.2434, allocations: 394.1 kB / 498.2 MB, free: 14.3 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated