Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001169, allocations: 94.89 kB / 16.3 MB, free: 5.996 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.001338/0.001338, allocations: 183.2 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.89/1.89, allocations: 205.4 MB / 223.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3732/0.3732, allocations: 38.05 MB / 309.7 MB, free: 8.906 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005572/0.0005574, allocations: 12 kB / 376.5 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1477, allocations: 56.33 MB / 432.8 MB, free: 6.738 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005933/0.1537, allocations: 4.301 MB / 437.1 MB, free: 2.414 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003416/0.1571, allocations: 1.579 MB / 438.7 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007662/0.158, allocations: 27.81 kB / 438.7 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004206/0.1584, allocations: 71.5 kB / 438.8 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.1597, allocations: 211.4 kB / 439 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.1608, allocations: 235.5 kB / 439.2 MB, free: 300 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006663/0.1615, allocations: 283.8 kB / 439.5 MB, free: 16 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.1626, allocations: 0.5191 MB / 440 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000443/0.163, allocations: 183.3 kB / 440.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005783/0.1636, allocations: 255.3 kB / 440.4 MB, free: 15.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.1637, allocations: 20 kB / 440.5 MB, free: 15.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004986/0.1643, allocations: 159.7 kB / 440.6 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002762/0.1645, allocations: 199.5 kB / 440.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.1647, allocations: 109.5 kB / 440.9 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006968/0.1654, allocations: 494.8 kB / 441.4 MB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1654, allocations: 0 / 441.4 MB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1655, allocations: 0 / 441.4 MB, free: 14.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.329e-05/0.1655, allocations: 0 / 441.4 MB, free: 14.06 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001657/0.1672, allocations: 0.6958 MB / 442.1 MB, free: 13.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/0.1672, allocations: 8.031 kB / 442.1 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007211/0.1679, allocations: 99.27 kB / 442.2 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007766/0.1687, allocations: 394.1 kB / 442.6 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/0.1688, allocations: 32.98 kB / 442.6 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/0.169, allocations: 51.94 kB / 442.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.17, allocations: 0.6726 MB / 443.3 MB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.1701, allocations: 3.938 kB / 443.4 MB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.401e-05/0.1701, allocations: 16 kB / 443.4 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001737/0.1703, allocations: 56.91 kB / 443.4 MB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.1713, allocations: 0.6596 MB / 444.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003555/0.1749, allocations: 2.429 MB / 446.5 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005354/0.1755, allocations: 357.7 kB / 446.9 MB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.1755, allocations: 12.27 kB / 446.9 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.1756, allocations: 42.78 kB / 446.9 MB, free: 8.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 2.544e-06/0.1756, allocations: 0 / 446.9 MB, free: 8.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.002548/0.1781, allocations: 1.614 MB / 448.5 MB, free: 6.578 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.532e-05/0.1782, allocations: 89.05 kB / 448.6 MB, free: 6.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.1785, allocations: 282.9 kB / 448.9 MB, free: 6.191 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.1786, allocations: 29.7 kB / 448.9 MB, free: 6.156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.1788, allocations: 243.8 kB / 449.2 MB, free: 5.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.1789, allocations: 157.7 kB / 449.3 MB, free: 5.754 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.1789, allocations: 15.94 kB / 449.3 MB, free: 5.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1791, allocations: 342.8 kB / 449.7 MB, free: 5.395 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/0.1794, allocations: 221 kB / 449.9 MB, free: 5.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/0.1798, allocations: 353.8 kB / 450.2 MB, free: 4.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.1801, allocations: 272.2 kB / 450.5 MB, free: 4.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1802, allocations: 0 / 450.5 MB, free: 4.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001199/0.1814, allocations: 0.7158 MB / 451.2 MB, free: 3.785 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.1814, allocations: 11.84 kB / 451.2 MB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008528/0.1823, allocations: 0.5147 MB / 451.7 MB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003345/0.1826, allocations: 77.23 kB / 451.8 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.183, allocations: 107.9 kB / 451.9 MB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/0.1846, allocations: 1.621 MB / 453.5 MB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.1849, allocations: 27.97 kB / 453.6 MB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-05/0.185, allocations: 23.98 kB / 453.6 MB, free: 1.273 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003259/0.1853, allocations: 213.7 kB / 453.8 MB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.1855, allocations: 43.47 kB / 453.8 MB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008874/0.1864, allocations: 0.5589 MB / 454.4 MB, free: 452 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.824e-05/0.1864, allocations: 12 kB / 454.4 MB, free: 440 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.1864, allocations: 0 / 454.4 MB, free: 440 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.1864, allocations: 3.984 kB / 454.4 MB, free: 436 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2762/0.4627, allocations: 1.187 MB / 455.6 MB, free: 51.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.4627, allocations: 3.938 kB / 455.6 MB, free: 51.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004227/0.4632, allocations: 84.95 kB / 455.7 MB, free: 51.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.4632, allocations: 6.125 kB / 455.7 MB, free: 51.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/0.4632, allocations: 9.062 kB / 455.7 MB, free: 51.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.4632, allocations: 5.078 kB / 455.7 MB, free: 51.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4632, allocations: 0.6562 kB / 455.7 MB, free: 51.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.4642, allocations: 0.9602 MB / 456.7 MB, free: 50.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.102e-05/0.4643, allocations: 109.3 kB / 456.8 MB, free: 50.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.037e-05/0.4644, allocations: 9.781 kB / 456.8 MB, free: 50.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.4646, allocations: 25.05 kB / 456.8 MB, free: 50.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.4647, allocations: 25.31 kB / 456.8 MB, free: 50.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.4647, allocations: 13.38 kB / 456.8 MB, free: 50.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001515/0.4649, allocations: 196.1 kB / 457 MB, free: 50.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4649, allocations: 0 / 457 MB, free: 50.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005184/0.4654, allocations: 123.1 kB / 457.2 MB, free: 50.76 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001899/0.4656, allocations: 116.8 kB / 457.3 MB, free: 50.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008623/0.4665, allocations: 0.657 MB / 457.9 MB, free: 50.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4665, allocations: 0 / 457.9 MB, free: 50.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003083/0.4668, allocations: 256.5 kB / 458.2 MB, free: 50.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.4672, allocations: 63.62 kB / 458.2 MB, free: 50.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.4687, allocations: 1.406 MB / 459.6 MB, free: 49.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.469, allocations: 0.8865 MB / 460.5 MB, free: 49.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002896/0.4693, allocations: 127.5 kB / 460.7 MB, free: 49.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.415e-05/0.4694, allocations: 39.41 kB / 460.7 MB, free: 49.25 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4694, allocations: 0 / 460.7 MB, free: 49.25 MB / 382.1 MB Notification: Performance of Templates: time 0.007324/0.4768, allocations: 4.111 MB / 464.8 MB, free: 49 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.sim & ./PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) Environment - environmentSimulation: