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.0008433/0.0008434, allocations: 94.75 kB / 16.3 MB, free: 6.457 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.0008942/0.0008942, allocations: 184.5 kB / 17.2 MB, free: 6.34 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.305/1.305, allocations: 223.2 MB / 241.1 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3015/0.3015, allocations: 38.07 MB / 330.3 MB, free: 14.22 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002916/0.0002917, allocations: 12 kB / 400 MB, free: 9.305 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3105, allocations: 59.16 MB / 459.1 MB, free: 30.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.007084/0.3176, allocations: 7.846 MB / 467 MB, free: 24.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004183/0.3219, allocations: 2.707 MB / 469.7 MB, free: 22.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006862/0.3226, allocations: 55.28 kB / 469.7 MB, free: 22.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006563/0.3232, allocations: 260.6 kB / 470 MB, free: 22.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.3245, allocations: 497.7 kB / 470.5 MB, free: 22.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.3259, allocations: 457.4 kB / 470.9 MB, free: 21.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00106/0.327, allocations: 0.68 MB / 471.6 MB, free: 21.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/0.3286, allocations: 1 MB / 472.6 MB, free: 21.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007215/0.3293, allocations: 414.1 kB / 473 MB, free: 20.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007395/0.3301, allocations: 471.1 kB / 473.5 MB, free: 20.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.3302, allocations: 40.59 kB / 473.5 MB, free: 20.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005466/0.3307, allocations: 179.1 kB / 473.7 MB, free: 20.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004918/0.3312, allocations: 422.1 kB / 474.1 MB, free: 20.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.3315, allocations: 209 kB / 474.3 MB, free: 20.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.3328, allocations: 0.9828 MB / 475.3 MB, free: 20.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.3328, allocations: 0 / 475.3 MB, free: 20.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3328, allocations: 0 / 475.3 MB, free: 20.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.3328, allocations: 0 / 475.3 MB, free: 20.26 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.002243/0.335, allocations: 1.164 MB / 476.4 MB, free: 19.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.3351, allocations: 10.33 kB / 476.4 MB, free: 19.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.3363, allocations: 195 kB / 476.6 MB, free: 19.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.3375, allocations: 0.6767 MB / 477.3 MB, free: 18.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.46e-05/0.3376, allocations: 64.55 kB / 477.4 MB, free: 18.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002882/0.3379, allocations: 114.9 kB / 477.5 MB, free: 18.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.3397, allocations: 1.212 MB / 478.7 MB, free: 18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.3397, allocations: 7.062 kB / 478.7 MB, free: 18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.902e-05/0.3398, allocations: 36.7 kB / 478.7 MB, free: 17.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000251/0.3401, allocations: 61.94 kB / 478.8 MB, free: 17.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.3416, allocations: 1.005 MB / 479.8 MB, free: 17.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005018/0.3466, allocations: 4.723 MB / 484.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.3476, allocations: 0.6812 MB / 485.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.58e-05/0.3477, allocations: 7.188 kB / 485.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006709/0.3484, allocations: 0.5236 MB / 485.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.475e-06/0.3484, allocations: 3.938 kB / 485.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.004185/0.3526, allocations: 3.185 MB / 488.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.3527, allocations: 226.2 kB / 489.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005026/0.3532, allocations: 0.5861 MB / 489.7 MB, free: 8.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.887e-05/0.3532, allocations: 37.7 kB / 489.8 MB, free: 8.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.3535, allocations: 482.9 kB / 490.2 MB, free: 8.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.3536, allocations: 260.4 kB / 490.5 MB, free: 7.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.3537, allocations: 20 kB / 490.5 MB, free: 7.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.075e-05/0.3538, allocations: 390.7 kB / 490.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004544/0.3543, allocations: 377.8 kB / 491.3 MB, free: 7.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000543/0.3548, allocations: 0.6319 MB / 491.9 MB, free: 6.465 MB / 350.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.003327/0.3581, allocations: 1.235 MB / 493.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3582, allocations: 7.938 kB / 493.1 MB, free: 5.223 MB / 350.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. Error: No system for the symbolic initialization was generated