Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 115.7 kB / 17.74 MB, free: 5.297 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.001054/0.001054, allocations: 189.6 kB / 18.67 MB, free: 4.375 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.301/1.301, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1754/0.1754, allocations: 38.02 MB / 330.5 MB, free: 8.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 67.89 kB / 458.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3313, allocations: 58.05 MB / 0.5047 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.005951/0.3374, allocations: 4.494 MB / 0.5091 GB, free: 4.691 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002325/0.3397, allocations: 1.521 MB / 0.5106 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002643/0.34, allocations: 16.66 kB / 0.5106 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008441/0.3409, allocations: 288.1 kB / 0.5109 GB, free: 3.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005848/0.3414, allocations: 270.6 kB / 0.5112 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007223/0.3422, allocations: 259.5 kB / 0.5114 GB, free: 3.199 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006976/0.3429, allocations: 0.6358 MB / 0.512 GB, free: 2.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004275/0.3433, allocations: 291.8 kB / 0.5123 GB, free: 2.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003859/0.3437, allocations: 288.3 kB / 0.5126 GB, free: 2.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005618/0.3443, allocations: 388 kB / 0.513 GB, free: 2.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.404e-05/0.3444, allocations: 41.41 kB / 0.513 GB, free: 2.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00032/0.3447, allocations: 154.1 kB / 0.5131 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002582/0.345, allocations: 244 kB / 0.5134 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.3453, allocations: 271.9 kB / 0.5136 GB, free: 2.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007342/0.346, allocations: 0.6576 MB / 0.5143 GB, free: 2.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.346, allocations: 0 / 0.5143 GB, free: 2.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.346, allocations: 1.797 kB / 0.5143 GB, free: 2.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.346, allocations: 0 / 0.5143 GB, free: 2.047 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001784/0.3478, allocations: 0.8869 MB / 0.5152 GB, free: 1.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3479, allocations: 16.98 kB / 0.5152 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005757/0.3485, allocations: 93 kB / 0.5153 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009128/0.3494, allocations: 0.4905 MB / 0.5157 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.3494, allocations: 31.81 kB / 0.5158 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.3496, allocations: 52.58 kB / 0.5158 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.3506, allocations: 0.6855 MB / 0.5165 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.3506, allocations: 6.062 kB / 0.5165 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-05/0.3507, allocations: 21.77 kB / 0.5165 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001425/0.3508, allocations: 33.36 kB / 0.5165 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009767/0.3518, allocations: 0.5285 MB / 0.5171 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003807/0.3556, allocations: 3.095 MB / 0.5201 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006064/0.3563, allocations: 325.8 kB / 0.5204 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.3566, allocations: 176.8 kB / 0.5206 GB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.3566, allocations: 13.17 kB / 0.5206 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.3566, allocations: 41.39 kB / 0.5206 GB, free: 13.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 2.525e-06/0.3566, allocations: 0 / 0.5206 GB, free: 13.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002196/0.3589, allocations: 1.209 MB / 0.5218 GB, free: 13.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.3589, allocations: 83.94 kB / 0.5219 GB, free: 13.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004685/0.3594, allocations: 396.4 kB / 0.5223 GB, free: 12.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.3594, allocations: 31.08 kB / 0.5223 GB, free: 12.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.3596, allocations: 302.7 kB / 0.5226 GB, free: 12.65 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.789e-05/0.3597, allocations: 121 kB / 0.5227 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.3599, allocations: 99.69 kB / 0.5228 GB, free: 12.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.36, allocations: 354.8 kB / 0.5231 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.3603, allocations: 191.6 kB / 0.5233 GB, free: 12.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004243/0.3608, allocations: 386.9 kB / 0.5237 GB, free: 11.81 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007552/0.3615, allocations: 0.5984 MB / 0.5243 GB, free: 11.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.3616, allocations: 1.312 kB / 0.5243 GB, free: 11.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001919/0.3635, allocations: 0.8302 MB / 0.5251 GB, free: 11.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.3635, allocations: 8.531 kB / 0.5251 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.3635, allocations: 6.688 kB / 0.5251 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/0.3648, allocations: 272.3 kB / 0.5253 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/0.3655, allocations: 134.7 kB / 0.5255 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005069/0.3706, allocations: 4.053 MB / 0.5294 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005326/0.3711, allocations: 26.92 kB / 0.5295 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.437e-05/0.3712, allocations: 26.52 kB / 0.5295 GB, free: 7.77 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003646/0.3716, allocations: 218 kB / 0.5297 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.707e-05/0.3717, allocations: 42.7 kB / 0.5297 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008545/0.3725, allocations: 484.2 kB / 0.5302 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3725, allocations: 5.125 kB / 0.5302 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3726, allocations: 4.594 kB / 0.5302 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.3726, allocations: 2.875 kB / 0.5302 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.3741, allocations: 1.015 MB / 0.5312 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3742, allocations: 1.625 kB / 0.5312 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004662/0.3746, allocations: 91.78 kB / 0.5313 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.3747, allocations: 3.594 kB / 0.5313 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.3747, allocations: 9.656 kB / 0.5313 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3747, allocations: 3.531 kB / 0.5313 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3747, allocations: 0.7031 kB / 0.5313 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.3757, allocations: 0.7443 MB / 0.532 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.3759, allocations: 120.8 kB / 0.5321 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.723e-05/0.3759, allocations: 12.73 kB / 0.5322 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.3762, allocations: 16.92 kB / 0.5322 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.3763, allocations: 19.14 kB / 0.5322 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.3763, allocations: 13.61 kB / 0.5322 GB, free: 6.297 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003363/0.3767, allocations: 274.3 kB / 0.5325 GB, free: 6.164 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3767, allocations: 0 / 0.5325 GB, free: 6.164 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006292/0.3773, allocations: 121.3 kB / 0.5326 GB, free: 6.148 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (38): * Single equations (assignments): 37 * Array equations: 0 * 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.0001416/0.3774, allocations: 109.9 kB / 0.5327 GB, free: 6.051 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001625/0.3791, allocations: 0.799 MB / 0.5335 GB, free: 5.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.3791, allocations: 1.156 kB / 0.5335 GB, free: 5.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003143/0.3794, allocations: 199.3 kB / 0.5337 GB, free: 5.484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000623/0.38, allocations: 99.95 kB / 0.5337 GB, free: 5.418 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/0.3835, allocations: 1.52 MB / 0.5352 GB, free: 4.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.384, allocations: 0.8922 MB / 0.5361 GB, free: 3.672 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.3842, allocations: 43.73 kB / 0.5361 GB, free: 3.656 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3842, allocations: 0 / 0.5361 GB, free: 3.656 MB / 398.1 MB Notification: Performance of Templates: time 0.0121/0.3963, allocations: 7.927 MB / 0.5439 GB, free: 15.42 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)