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.001334/0.001335, allocations: 112.8 kB / 17.06 MB, free: 5.973 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.001285/0.001285, allocations: 196 kB / 18 MB, free: 5.051 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.491/1.491, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1771/0.1771, allocations: 38.03 MB / 329.9 MB, free: 8.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 64.03 kB / 458.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3491, allocations: 58.06 MB / 0.5041 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005158/0.3543, allocations: 4.42 MB / 0.5084 GB, free: 4.672 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.3564, allocations: 1.419 MB / 0.5098 GB, free: 3.688 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.3567, allocations: 16.94 kB / 0.5098 GB, free: 3.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.3577, allocations: 380.5 kB / 0.5102 GB, free: 3.449 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005726/0.3583, allocations: 252.3 kB / 0.5104 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006321/0.3589, allocations: 239.3 kB / 0.5106 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005879/0.3595, allocations: 0.5612 MB / 0.5112 GB, free: 2.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000416/0.36, allocations: 280.7 kB / 0.5114 GB, free: 2.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003272/0.3603, allocations: 261.8 kB / 0.5117 GB, free: 2.746 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004985/0.3608, allocations: 355.2 kB / 0.512 GB, free: 2.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.054e-05/0.3609, allocations: 39.06 kB / 0.5121 GB, free: 2.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004699/0.3614, allocations: 221.7 kB / 0.5123 GB, free: 2.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002815/0.3616, allocations: 236.6 kB / 0.5125 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002643/0.3619, allocations: 258.7 kB / 0.5128 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007851/0.3627, allocations: 0.6761 MB / 0.5134 GB, free: 2.094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3627, allocations: 7.938 kB / 0.5134 GB, free: 2.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3627, allocations: 0.7031 kB / 0.5134 GB, free: 2.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.3627, allocations: 1.344 kB / 0.5134 GB, free: 2.086 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.001272/0.364, allocations: 0.7765 MB / 0.5142 GB, free: 1.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.3641, allocations: 13.48 kB / 0.5142 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006084/0.3647, allocations: 92.3 kB / 0.5143 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000592/0.3653, allocations: 435 kB / 0.5147 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.3653, allocations: 29.69 kB / 0.5147 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.3655, allocations: 51.19 kB / 0.5148 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009867/0.3665, allocations: 0.6784 MB / 0.5154 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.3665, allocations: 6.078 kB / 0.5154 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.545e-05/0.3665, allocations: 16.06 kB / 0.5155 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000174/0.3667, allocations: 52.25 kB / 0.5155 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.3679, allocations: 0.6662 MB / 0.5162 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00344/0.3713, allocations: 2.438 MB / 0.5185 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006014/0.372, allocations: 361.9 kB / 0.5189 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003491/0.3723, allocations: 249.3 kB / 0.5191 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.249e-05/0.3724, allocations: 18.67 kB / 0.5191 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.3724, allocations: 32 kB / 0.5192 GB, free: 14.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.635e-06/0.3724, allocations: 1.094 kB / 0.5192 GB, free: 14.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002341/0.3748, allocations: 1.479 MB / 0.5206 GB, free: 13.92 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.3748, allocations: 81.31 kB / 0.5207 GB, free: 13.83 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003342/0.3752, allocations: 286.3 kB / 0.521 GB, free: 13.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.3752, allocations: 36.44 kB / 0.521 GB, free: 13.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.3754, allocations: 256 kB / 0.5212 GB, free: 13.42 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.3755, allocations: 164.2 kB / 0.5214 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.3757, allocations: 95.44 kB / 0.5215 GB, free: 13.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.3758, allocations: 349.1 kB / 0.5218 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003215/0.3761, allocations: 216.8 kB / 0.522 GB, free: 12.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004206/0.3766, allocations: 364.2 kB / 0.5224 GB, free: 12.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008105/0.3774, allocations: 0.6284 MB / 0.523 GB, free: 12.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3774, allocations: 1.406 kB / 0.523 GB, free: 12.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001223/0.3786, allocations: 0.7276 MB / 0.5237 GB, free: 11.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.3787, allocations: 11.58 kB / 0.5237 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008609/0.3795, allocations: 0.5213 MB / 0.5242 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003474/0.3799, allocations: 73.48 kB / 0.5243 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004101/0.3803, allocations: 110.2 kB / 0.5244 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/0.382, allocations: 1.731 MB / 0.5261 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.3824, allocations: 31.58 kB / 0.5261 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-05/0.3824, allocations: 21.06 kB / 0.5261 GB, free: 10.21 MB / 398.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.0003641/0.3828, allocations: 210 kB / 0.5263 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.383, allocations: 41.97 kB / 0.5264 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.3842, allocations: 0.5723 MB / 0.5269 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-05/0.3842, allocations: 16.64 kB / 0.527 GB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3842, allocations: 2.234 kB / 0.527 GB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.3843, allocations: 1.547 kB / 0.527 GB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.3866, allocations: 1.185 MB / 0.5281 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.3866, allocations: 6.078 kB / 0.5281 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004343/0.3871, allocations: 85.02 kB / 0.5282 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.3871, allocations: 7 kB / 0.5282 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/0.3871, allocations: 9.391 kB / 0.5282 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.3872, allocations: 7.5 kB / 0.5282 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3872, allocations: 1.844 kB / 0.5282 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.3886, allocations: 0.9256 MB / 0.5291 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.3888, allocations: 111.8 kB / 0.5292 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.773e-05/0.3888, allocations: 9.859 kB / 0.5293 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.3891, allocations: 18.39 kB / 0.5293 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.7e-05/0.3891, allocations: 35.94 kB / 0.5293 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.3892, allocations: 10.98 kB / 0.5293 GB, free: 8.578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002499/0.3894, allocations: 201 kB / 0.5295 GB, free: 8.465 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3895, allocations: 0 / 0.5295 GB, free: 8.465 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006994/0.3902, allocations: 125.2 kB / 0.5296 GB, free: 8.445 MB / 398.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.0003481/0.3905, allocations: 141.3 kB / 0.5298 GB, free: 8.336 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001788/0.3923, allocations: 0.6717 MB / 0.5304 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.3923, allocations: 1.281 kB / 0.5304 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005425/0.3929, allocations: 262.5 kB / 0.5307 GB, free: 7.957 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006541/0.3936, allocations: 67.5 kB / 0.5307 GB, free: 7.926 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.3961, allocations: 1.177 MB / 0.5319 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007498/0.3969, allocations: 0.8728 MB / 0.5327 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004012/0.3973, allocations: 127.1 kB / 0.5329 GB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.3974, allocations: 36.69 kB / 0.5329 GB, free: 6.531 MB / 398.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3974, allocations: 4 kB / 0.5329 GB, free: 6.527 MB / 398.1 MB Notification: Performance of Templates: time 0.01015/0.4076, allocations: 4.619 MB / 0.5374 GB, free: 4.348 MB / 398.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)