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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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.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.001367/0.001367, allocations: 104 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.001324/0.001324, allocations: 191.5 kB / 17.85 MB, free: 5.16 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.437/1.437, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1899/0.1899, allocations: 38.03 MB / 329.7 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 65.72 kB / 398.8 MB, free: 34.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.131, allocations: 58.06 MB / 456.9 MB, free: 8.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.006504/0.1375, allocations: 4.42 MB / 461.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002614/0.1402, allocations: 1.429 MB / 462.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000235/0.1404, allocations: 15.94 kB / 462.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.1415, allocations: 362.5 kB / 463.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006195/0.1422, allocations: 258.7 kB / 463.3 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006703/0.1428, allocations: 243.4 kB / 463.6 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005801/0.1434, allocations: 0.5573 MB / 464.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004374/0.1439, allocations: 285.1 kB / 464.4 MB, free: 492 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003151/0.1442, allocations: 251 kB / 464.6 MB, free: 240 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005124/0.1447, allocations: 362.9 kB / 465 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.551e-05/0.1448, allocations: 40 kB / 465 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004345/0.1453, allocations: 239.6 kB / 465.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002224/0.1455, allocations: 239.4 kB / 465.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002472/0.1457, allocations: 258.7 kB / 465.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006655/0.1464, allocations: 0.6504 MB / 466.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1464, allocations: 0 / 466.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1464, allocations: 0 / 466.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1465, allocations: 4 kB / 466.4 MB, free: 14.46 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001378/0.1478, allocations: 0.7738 MB / 467.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.1479, allocations: 15.89 kB / 467.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006306/0.1485, allocations: 88.22 kB / 467.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006217/0.1492, allocations: 403.2 kB / 467.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.1492, allocations: 37.31 kB / 467.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.1494, allocations: 56.09 kB / 467.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.1504, allocations: 0.6726 MB / 468.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.1504, allocations: 4 kB / 468.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.404e-05/0.1505, allocations: 16 kB / 468.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001943/0.1507, allocations: 48.97 kB / 468.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.1517, allocations: 0.6713 MB / 469.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003408/0.1551, allocations: 2.441 MB / 471.6 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005249/0.1556, allocations: 353.6 kB / 472 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003397/0.156, allocations: 258.3 kB / 472.2 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.156, allocations: 4.281 kB / 472.2 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.1561, allocations: 42.78 kB / 472.3 MB, free: 8.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.174e-06/0.1561, allocations: 4 kB / 472.3 MB, free: 8.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.002279/0.1584, allocations: 1.47 MB / 473.7 MB, free: 6.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.1584, allocations: 81.11 kB / 473.8 MB, free: 6.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.1587, allocations: 282.9 kB / 474.1 MB, free: 6.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.1588, allocations: 29.7 kB / 474.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.159, allocations: 255.8 kB / 474.4 MB, free: 6.117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.1591, allocations: 157.7 kB / 474.5 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.1593, allocations: 94.16 kB / 474.6 MB, free: 5.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1594, allocations: 350.7 kB / 475 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003092/0.1597, allocations: 221 kB / 475.2 MB, free: 5.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/0.1601, allocations: 353.8 kB / 475.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008443/0.161, allocations: 0.6278 MB / 476.2 MB, free: 4.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.161, allocations: 4 kB / 476.2 MB, free: 4.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001233/0.1622, allocations: 0.7164 MB / 476.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.1622, allocations: 15.94 kB / 476.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008428/0.1631, allocations: 0.5263 MB / 477.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003162/0.1634, allocations: 72.78 kB / 477.5 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.1638, allocations: 103.9 kB / 477.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.1656, allocations: 1.73 MB / 479.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.1658, allocations: 27.97 kB / 479.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-05/0.1659, allocations: 24 kB / 479.4 MB, free: 0.8398 MB / 350.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002553/0.1662, allocations: 209.7 kB / 479.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.034e-05/0.1663, allocations: 43.41 kB / 479.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008755/0.1671, allocations: 0.5629 MB / 480.2 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.864e-05/0.1672, allocations: 16.05 kB / 480.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.1672, allocations: 0 / 480.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.1672, allocations: 144 / 480.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.169, allocations: 1.207 MB / 481.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.169, allocations: 3.984 kB / 481.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004154/0.1694, allocations: 83.98 kB / 481.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.1695, allocations: 0 / 481.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.1695, allocations: 15.98 kB / 481.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1695, allocations: 4 kB / 481.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1695, allocations: 4 kB / 481.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.1707, allocations: 0.9296 MB / 482.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.148e-05/0.1707, allocations: 100.7 kB / 482.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.036e-05/0.1708, allocations: 12 kB / 482.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.171, allocations: 24.02 kB / 482.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.1711, allocations: 23.91 kB / 482.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.1711, allocations: 12 kB / 482.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001899/0.1713, allocations: 197.9 kB / 482.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1713, allocations: 4 kB / 482.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004949/0.1718, allocations: 116 kB / 482.9 MB, free: 13.16 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002359/0.1721, allocations: 135.5 kB / 483.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.1733, allocations: 0.7893 MB / 483.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1733, allocations: 0 / 483.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003587/0.1737, allocations: 267.3 kB / 484.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005167/0.1742, allocations: 76.47 kB / 484.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.176, allocations: 1.17 MB / 485.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004798/0.1765, allocations: 0.8743 MB / 486.2 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003247/0.1768, allocations: 131.1 kB / 486.3 MB, free: 9.633 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.1769, allocations: 35.44 kB / 486.4 MB, free: 9.602 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1769, allocations: 3.938 kB / 486.4 MB, free: 9.598 MB / 366.1 MB Notification: Performance of Templates: time 0.008886/0.1858, allocations: 4.437 MB / 490.8 MB, free: 5.195 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.makefile (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)