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.001346/0.001346, allocations: 102.1 kB / 17.59 MB, free: 5.418 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.001424/0.001424, allocations: 191.3 kB / 18.52 MB, free: 4.508 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.348/1.348, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1768/0.1768, allocations: 38.04 MB / 330.4 MB, free: 8.848 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 59.39 kB / 399.5 MB, free: 34.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08395/0.0852, allocations: 58.06 MB / 457.5 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.008249/0.09349, allocations: 7.574 MB / 465.1 MB, free: 476 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003852/0.09737, allocations: 2.325 MB / 467.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005215/0.09792, allocations: 27.81 kB / 467.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002189/0.1001, allocations: 0.8581 MB / 468.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.1013, allocations: 0.5014 MB / 468.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.1024, allocations: 459 kB / 469.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001414/0.1038, allocations: 1.309 MB / 470.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008778/0.1047, allocations: 0.6971 MB / 471.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000856/0.1056, allocations: 0.568 MB / 471.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.1066, allocations: 0.6929 MB / 472.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001861/0.1068, allocations: 88 kB / 472.6 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005853/0.1074, allocations: 263.6 kB / 472.9 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004907/0.1079, allocations: 0.4949 MB / 473.4 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006429/0.1086, allocations: 0.5403 MB / 473.9 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.1099, allocations: 1.304 MB / 475.2 MB, free: 6.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1099, allocations: 0 / 475.2 MB, free: 6.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1099, allocations: 0 / 475.2 MB, free: 6.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.912e-05/0.1099, allocations: 0 / 475.2 MB, free: 6.32 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.002654/0.1126, allocations: 1.335 MB / 476.5 MB, free: 4.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1126, allocations: 11.89 kB / 476.6 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.1139, allocations: 187.5 kB / 476.7 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.115, allocations: 0.7038 MB / 477.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.389e-05/0.1151, allocations: 62.38 kB / 477.5 MB, free: 3.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/0.1154, allocations: 120 kB / 477.6 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.1171, allocations: 1.219 MB / 478.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/0.1172, allocations: 11.89 kB / 478.9 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.954e-05/0.1173, allocations: 39.97 kB / 478.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002694/0.1175, allocations: 65.91 kB / 479 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.1191, allocations: 1.007 MB / 480 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005693/0.1248, allocations: 4.714 MB / 484.7 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.1259, allocations: 0.6749 MB / 485.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000613/0.1266, allocations: 467.2 kB / 485.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.079e-05/0.1266, allocations: 12.55 kB / 485.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00072/0.1273, allocations: 0.5259 MB / 486.3 MB, free: 10.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 3.767e-06/0.1274, allocations: 0 / 486.3 MB, free: 10.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.004952/0.1323, allocations: 3.042 MB / 489.4 MB, free: 7.629 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.1325, allocations: 218.1 kB / 489.6 MB, free: 7.363 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006617/0.1331, allocations: 0.5899 MB / 490.2 MB, free: 6.762 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.747e-05/0.1332, allocations: 41.7 kB / 490.2 MB, free: 6.715 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.1335, allocations: 483 kB / 490.7 MB, free: 6.234 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/0.1338, allocations: 256.4 kB / 491 MB, free: 5.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/0.134, allocations: 174.5 kB / 491.1 MB, free: 5.805 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1342, allocations: 390.8 kB / 491.5 MB, free: 5.414 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005973/0.1348, allocations: 385.8 kB / 491.9 MB, free: 5.035 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007395/0.1355, allocations: 0.6457 MB / 492.5 MB, free: 4.277 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.005198/0.1407, allocations: 2.233 MB / 494.8 MB, free: 1.934 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.1408, allocations: 4 kB / 494.8 MB, free: 1.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003132/0.1439, allocations: 1.653 MB / 496.4 MB, free: 256 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.144, allocations: 33.7 kB / 496.5 MB, free: 216 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.000627/0.1446, allocations: 405.4 kB / 496.8 MB, free: 15.82 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated