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.001532/0.001532, allocations: 109 kB / 16.92 MB, free: 5.789 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.002017/0.002017, allocations: 191.3 kB / 17.85 MB, free: 5.191 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.408/1.408, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1951/0.1951, allocations: 38.03 MB / 329.7 MB, free: 8.844 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 57.27 kB / 398.8 MB, free: 34.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1061, allocations: 58.06 MB / 456.9 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.008242/0.1143, allocations: 7.581 MB / 464.4 MB, free: 464 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003994/0.1184, allocations: 2.317 MB / 466.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000346/0.1187, allocations: 27.81 kB / 466.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002009/0.1207, allocations: 0.8587 MB / 467.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009042/0.1217, allocations: 0.5014 MB / 468.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.1227, allocations: 451 kB / 468.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00122/0.1239, allocations: 1.321 MB / 469.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008111/0.1247, allocations: 0.6932 MB / 470.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007444/0.1255, allocations: 0.568 MB / 471.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008343/0.1263, allocations: 0.6891 MB / 471.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.1265, allocations: 84 kB / 471.9 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005165/0.127, allocations: 267.6 kB / 472.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004053/0.1274, allocations: 0.491 MB / 472.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004768/0.1279, allocations: 0.5442 MB / 473.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.129, allocations: 1.304 MB / 474.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.129, allocations: 0 / 474.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.129, allocations: 0 / 474.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.1291, allocations: 8 kB / 474.5 MB, free: 6.312 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.002187/0.1313, allocations: 1.331 MB / 475.9 MB, free: 4.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1313, allocations: 15.89 kB / 475.9 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.1324, allocations: 187.4 kB / 476.1 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.1335, allocations: 0.6999 MB / 476.8 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.391e-05/0.1335, allocations: 66.3 kB / 476.8 MB, free: 3.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002522/0.1338, allocations: 124 kB / 477 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.1354, allocations: 1.217 MB / 478.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.1355, allocations: 11.84 kB / 478.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.302e-05/0.1356, allocations: 35.98 kB / 478.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002573/0.1358, allocations: 61.97 kB / 478.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.1373, allocations: 1.007 MB / 479.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005339/0.1427, allocations: 4.714 MB / 484 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.1437, allocations: 0.679 MB / 484.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005891/0.1443, allocations: 463.2 kB / 485.1 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.57e-05/0.1444, allocations: 8.562 kB / 485.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007366/0.1451, allocations: 0.5376 MB / 485.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 2.104e-06/0.1451, allocations: 0 / 485.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.004813/0.1499, allocations: 3.022 MB / 488.7 MB, free: 7.641 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.1501, allocations: 234.2 kB / 488.9 MB, free: 7.359 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006069/0.1507, allocations: 0.586 MB / 489.5 MB, free: 6.762 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.183e-05/0.1508, allocations: 37.7 kB / 489.6 MB, free: 6.719 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000334/0.1511, allocations: 479 kB / 490 MB, free: 6.242 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002298/0.1513, allocations: 260.4 kB / 490.3 MB, free: 5.984 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002406/0.1516, allocations: 174.5 kB / 490.4 MB, free: 5.809 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1517, allocations: 390.8 kB / 490.8 MB, free: 5.418 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005677/0.1523, allocations: 385.7 kB / 491.2 MB, free: 5.039 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007219/0.1531, allocations: 0.6379 MB / 491.8 MB, free: 4.289 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.00514/0.1582, allocations: 2.248 MB / 494.1 MB, free: 1.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.1582, allocations: 4 kB / 494.1 MB, free: 1.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003122/0.1614, allocations: 1.649 MB / 495.7 MB, free: 256 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.1614, allocations: 38.39 kB / 495.8 MB, free: 212 kB / 366.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.0005896/0.162, allocations: 401.5 kB / 496.2 MB, free: 15.81 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated