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.001103/0.001103, allocations: 116.7 kB / 16.63 MB, free: 6.812 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.001237/0.001237, allocations: 189.8 kB / 17.55 MB, free: 5.934 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.34/1.34, allocations: 222.9 MB / 241.2 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.1725/0.1725, allocations: 38.04 MB / 329.4 MB, free: 9.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 66.8 kB / 398.3 MB, free: 34.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1088, allocations: 58.06 MB / 456.3 MB, free: 8.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.01119/0.12, allocations: 9.226 MB / 465.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005761/0.1258, allocations: 2.82 MB / 468.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/0.1271, allocations: 63.56 kB / 468.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002384/0.1295, allocations: 0.7997 MB / 469.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.1311, allocations: 481.9 kB / 469.7 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.1326, allocations: 407.3 kB / 470.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002112/0.1348, allocations: 1.321 MB / 471.4 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.136, allocations: 0.7401 MB / 472.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001318/0.1374, allocations: 0.5758 MB / 472.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.1387, allocations: 0.7359 MB / 473.5 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003042/0.139, allocations: 80 kB / 473.6 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.1401, allocations: 275.6 kB / 473.8 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008573/0.141, allocations: 0.4987 MB / 474.3 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.1424, allocations: 0.5404 MB / 474.9 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002158/0.1446, allocations: 1.304 MB / 476.2 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.1446, allocations: 7.938 kB / 476.2 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1446, allocations: 0 / 476.2 MB, free: 4.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.182e-05/0.1447, allocations: 0 / 476.2 MB, free: 4.504 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.003684/0.1484, allocations: 1.327 MB / 477.5 MB, free: 3.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.1484, allocations: 15.89 kB / 477.5 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.1498, allocations: 191.4 kB / 477.7 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.1512, allocations: 0.6922 MB / 478.4 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.844e-05/0.1513, allocations: 70.36 kB / 478.5 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003206/0.1516, allocations: 123.9 kB / 478.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/0.1538, allocations: 1.216 MB / 479.8 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.594e-05/0.1538, allocations: 4 kB / 479.8 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.929e-05/0.1539, allocations: 39.92 kB / 479.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002867/0.1542, allocations: 61.97 kB / 479.9 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.156, allocations: 1.019 MB / 480.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006616/0.1626, allocations: 4.714 MB / 485.7 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.1638, allocations: 0.6786 MB / 486.3 MB, free: 9.973 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006273/0.1644, allocations: 461.1 kB / 486.8 MB, free: 9.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.195e-05/0.1645, allocations: 16.53 kB / 486.8 MB, free: 9.504 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007777/0.1653, allocations: 0.526 MB / 487.3 MB, free: 8.941 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 2.595e-06/0.1653, allocations: 0 / 487.3 MB, free: 8.941 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.005037/0.1703, allocations: 3.038 MB / 490.4 MB, free: 5.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/0.1705, allocations: 226.1 kB / 490.6 MB, free: 5.547 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006714/0.1712, allocations: 0.5861 MB / 491.2 MB, free: 4.949 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.36e-05/0.1712, allocations: 45.7 kB / 491.2 MB, free: 4.898 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/0.1716, allocations: 474.9 kB / 491.7 MB, free: 4.426 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/0.1718, allocations: 256.4 kB / 491.9 MB, free: 4.172 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000266/0.1721, allocations: 170.5 kB / 492.1 MB, free: 4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1723, allocations: 402.7 kB / 492.5 MB, free: 3.598 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005946/0.1729, allocations: 389.7 kB / 492.9 MB, free: 3.215 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007711/0.1736, allocations: 0.634 MB / 493.5 MB, free: 2.473 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.00542/0.1791, allocations: 2.233 MB / 495.7 MB, free: 128 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.637e-06/0.1791, allocations: 4 kB / 495.7 MB, free: 124 kB / 366.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003359/0.1825, allocations: 1.661 MB / 497.4 MB, free: 14.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.523e-05/0.1825, allocations: 37.7 kB / 497.4 MB, free: 14.39 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.0006422/0.1832, allocations: 397.4 kB / 497.8 MB, free: 14.01 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated