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.001516/0.001516, allocations: 117.7 kB / 17.7 MB, free: 5.293 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.001344/0.001344, allocations: 191 kB / 18.63 MB, free: 4.367 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.886/1.886, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.222/0.222, allocations: 38.04 MB / 330.5 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001465, allocations: 64.45 kB / 400.3 MB, free: 33.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1952, allocations: 58.06 MB / 458.3 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.01366/0.209, allocations: 7.578 MB / 465.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006477/0.2156, allocations: 2.321 MB / 468.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009824/0.2166, allocations: 27.81 kB / 468.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002961/0.2196, allocations: 0.8557 MB / 469.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.2216, allocations: 0.5013 MB / 469.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.2236, allocations: 447 kB / 470 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002968/0.2266, allocations: 1.324 MB / 471.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001809/0.2284, allocations: 0.6933 MB / 472.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001833/0.2303, allocations: 0.568 MB / 472.6 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002124/0.2324, allocations: 0.7008 MB / 473.3 MB, free: 8.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005055/0.233, allocations: 80 kB / 473.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.2344, allocations: 259.7 kB / 473.7 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001223/0.2356, allocations: 0.4987 MB / 474.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001645/0.2373, allocations: 0.5403 MB / 474.7 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002368/0.2396, allocations: 1.316 MB / 476 MB, free: 5.562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.143e-05/0.2397, allocations: 8 kB / 476 MB, free: 5.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.729e-06/0.2397, allocations: 0 / 476 MB, free: 5.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.919e-05/0.2397, allocations: 0 / 476 MB, free: 5.555 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.003316/0.243, allocations: 1.335 MB / 477.3 MB, free: 4.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.651e-05/0.2431, allocations: 11.89 kB / 477.4 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.2445, allocations: 183.5 kB / 477.5 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.2463, allocations: 0.7427 MB / 478.3 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-05/0.2464, allocations: 66.36 kB / 478.3 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003252/0.2467, allocations: 116.1 kB / 478.5 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/0.249, allocations: 1.216 MB / 479.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.611e-05/0.2491, allocations: 15.84 kB / 479.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-05/0.2492, allocations: 36 kB / 479.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002867/0.2495, allocations: 65.95 kB / 479.8 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/0.2514, allocations: 1.011 MB / 480.8 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008016/0.2594, allocations: 4.69 MB / 485.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.2609, allocations: 0.6794 MB / 486.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007126/0.2616, allocations: 459.2 kB / 486.6 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.648e-05/0.2617, allocations: 24.53 kB / 486.6 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009803/0.2627, allocations: 0.5181 MB / 487.2 MB, free: 9.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 7.424e-06/0.2627, allocations: 0 / 487.2 MB, free: 9.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.006236/0.2689, allocations: 3.03 MB / 490.2 MB, free: 6.863 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002135/0.2692, allocations: 230 kB / 490.4 MB, free: 6.586 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009558/0.2701, allocations: 0.5938 MB / 491 MB, free: 5.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.078e-05/0.2702, allocations: 41.69 kB / 491.1 MB, free: 5.934 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005606/0.2708, allocations: 471 kB / 491.5 MB, free: 5.465 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003013/0.2711, allocations: 264.3 kB / 491.8 MB, free: 5.203 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004424/0.2715, allocations: 178.5 kB / 491.9 MB, free: 5.023 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002926/0.2719, allocations: 394.7 kB / 492.3 MB, free: 4.629 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006886/0.2725, allocations: 385.8 kB / 492.7 MB, free: 4.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009989/0.2736, allocations: 0.634 MB / 493.3 MB, free: 3.504 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.005894/0.2795, allocations: 2.229 MB / 495.6 MB, free: 1.164 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.419e-05/0.2795, allocations: 4 kB / 495.6 MB, free: 1.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003706/0.2832, allocations: 1.654 MB / 497.2 MB, free: 15.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.556e-05/0.2833, allocations: 37.7 kB / 497.3 MB, free: 15.44 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.000667/0.284, allocations: 391.8 kB / 497.6 MB, free: 15.06 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated