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.0009905/0.0009905, allocations: 91.88 kB / 16.65 MB, free: 6.586 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.0012/0.0012, allocations: 182 kB / 17.56 MB, free: 6.203 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.384/1.384, allocations: 223.3 MB / 241.6 MB, free: 108 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1787/0.1787, allocations: 38.08 MB / 330.8 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.0003401, allocations: 8 kB / 400.7 MB, free: 34.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1212, allocations: 59.16 MB / 459.9 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.00762/0.1289, allocations: 4.678 MB / 464.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003083/0.132, allocations: 1.609 MB / 466.2 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003697/0.1324, allocations: 19.88 kB / 466.2 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.1326, allocations: 63.55 kB / 466.2 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008599/0.1335, allocations: 235 kB / 466.5 MB, free: 452 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009363/0.1345, allocations: 211.6 kB / 466.7 MB, free: 240 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.1358, allocations: 0.8577 MB / 467.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.1372, allocations: 0.5475 MB / 468.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005648/0.1378, allocations: 211 kB / 468.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008439/0.1386, allocations: 358.9 kB / 468.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.1387, allocations: 20 kB / 468.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006621/0.1394, allocations: 227.5 kB / 468.9 MB, free: 14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003529/0.1398, allocations: 219.4 kB / 469.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004619/0.1403, allocations: 256.5 kB / 469.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.1414, allocations: 0.6384 MB / 470 MB, free: 12.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1414, allocations: 0 / 470 MB, free: 12.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.1414, allocations: 4 kB / 470 MB, free: 12.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.031e-05/0.1414, allocations: 0 / 470 MB, free: 12.88 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.001938/0.1434, allocations: 0.6882 MB / 470.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.1434, allocations: 12.03 kB / 470.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009951/0.1445, allocations: 92.22 kB / 470.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009058/0.1454, allocations: 407.2 kB / 471.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.723e-05/0.1454, allocations: 33.36 kB / 471.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/0.1457, allocations: 52.06 kB / 471.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.1471, allocations: 0.6804 MB / 471.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.1471, allocations: 0 / 471.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.062e-05/0.1472, allocations: 12 kB / 471.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002507/0.1475, allocations: 56.94 kB / 472 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.149, allocations: 0.6713 MB / 472.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004973/0.154, allocations: 2.437 MB / 475.1 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008386/0.1549, allocations: 363.9 kB / 475.5 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005095/0.1554, allocations: 250.3 kB / 475.7 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.627e-05/0.1555, allocations: 4.281 kB / 475.7 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.1555, allocations: 38.84 kB / 475.7 MB, free: 6.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 3.326e-06/0.1555, allocations: 0 / 475.7 MB, free: 6.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.002692/0.1582, allocations: 1.474 MB / 477.2 MB, free: 5.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.1583, allocations: 81.11 kB / 477.3 MB, free: 5.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004146/0.1587, allocations: 295 kB / 477.6 MB, free: 4.902 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.171e-05/0.1588, allocations: 37.64 kB / 477.6 MB, free: 4.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.159, allocations: 239.8 kB / 477.9 MB, free: 4.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.1592, allocations: 161.6 kB / 478 MB, free: 4.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.573e-05/0.1593, allocations: 49.69 kB / 478.1 MB, free: 4.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1595, allocations: 350.8 kB / 478.4 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004673/0.1599, allocations: 221 kB / 478.6 MB, free: 3.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000578/0.1605, allocations: 357.7 kB / 479 MB, free: 3.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.1617, allocations: 0.6317 MB / 479.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.1617, allocations: 0 / 479.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00167/0.1634, allocations: 0.7164 MB / 480.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.1634, allocations: 11.94 kB / 480.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008397/0.1643, allocations: 0.5186 MB / 480.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003207/0.1646, allocations: 76.78 kB / 480.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.165, allocations: 103.8 kB / 481 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/0.1668, allocations: 1.6 MB / 482.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002873/0.1671, allocations: 31.97 kB / 482.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.922e-05/0.1671, allocations: 20.06 kB / 482.7 MB, free: 15.52 MB / 366.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.0003018/0.1674, allocations: 217.7 kB / 482.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.672e-05/0.1675, allocations: 31.62 kB / 482.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009085/0.1685, allocations: 0.5705 MB / 483.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.813e-05/0.1685, allocations: 23.86 kB / 483.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.1685, allocations: 0 / 483.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1685, allocations: 4 kB / 483.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/0.1703, allocations: 1.196 MB / 484.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/0.1703, allocations: 4 kB / 484.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003915/0.1707, allocations: 75.89 kB / 484.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.1708, allocations: 11.92 kB / 484.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/0.1708, allocations: 12.09 kB / 484.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.1708, allocations: 8 kB / 484.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1708, allocations: 0 / 484.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.172, allocations: 0.9183 MB / 485.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.196e-05/0.1721, allocations: 112.6 kB / 485.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.363e-05/0.1722, allocations: 19.97 kB / 485.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.1724, allocations: 15.98 kB / 485.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/0.1725, allocations: 19.97 kB / 485.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.1725, allocations: 16.22 kB / 485.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001767/0.1727, allocations: 198 kB / 486.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1727, allocations: 0 / 486.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000504/0.1732, allocations: 120 kB / 486.2 MB, free: 11.84 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.0002485/0.1735, allocations: 147.4 kB / 486.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.1745, allocations: 0.6608 MB / 487 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1746, allocations: 256 / 487 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003805/0.175, allocations: 275.3 kB / 487.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000549/0.1755, allocations: 60.62 kB / 487.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.1775, allocations: 1.44 MB / 488.8 MB, free: 9.195 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004881/0.178, allocations: 0.8743 MB / 489.7 MB, free: 8.297 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003468/0.1784, allocations: 131.1 kB / 489.8 MB, free: 8.168 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.1785, allocations: 31.44 kB / 489.8 MB, free: 8.141 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1785, allocations: 0 / 489.8 MB, free: 8.141 MB / 366.1 MB Notification: Performance of Templates: time 0.009554/0.1881, allocations: 4.198 MB / 494 MB, free: 3.973 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)