Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 112 kB / 20.43 MB, free: 1.457 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002073/0.002073, allocations: 180.8 kB / 23.71 MB, free: 4.695 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2231/0.2231, allocations: 38.54 MB / 346.3 MB, free: 2.078 MB / 270.1 MB
"
[Timeout remaining time 179]
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.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2")
translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 68.03 kB / 484.5 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3572, allocations: 61.3 MB / 0.533 GB, free: 5.566 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003164/0.3604, allocations: 2.128 MB / 0.5351 GB, free: 4.051 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0007258/0.3611, allocations: 0.5337 MB / 0.5356 GB, free: 3.688 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 4.069e-05/0.3612, allocations: 1.375 kB / 0.5356 GB, free: 3.688 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.3613, allocations: 10.2 kB / 0.5357 GB, free: 3.684 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 8.364e-05/0.3614, allocations: 30.5 kB / 0.5357 GB, free: 3.668 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.3618, allocations: 85.14 kB / 0.5358 GB, free: 3.633 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001226/0.3619, allocations: 56.95 kB / 0.5358 GB, free: 3.613 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.804e-05/0.362, allocations: 7.672 kB / 0.5358 GB, free: 3.609 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 7.846e-05/0.362, allocations: 28.8 kB / 0.5359 GB, free: 3.598 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.208e-05/0.3621, allocations: 39.34 kB / 0.5359 GB, free: 3.578 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.3621, allocations: 1.656 kB / 0.5359 GB, free: 3.578 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.3623, allocations: 131 kB / 0.536 GB, free: 3.516 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.692e-05/0.3624, allocations: 22.42 kB / 0.536 GB, free: 3.508 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.3624, allocations: 34.8 kB / 0.5361 GB, free: 3.48 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.3626, allocations: 131.3 kB / 0.5362 GB, free: 3.414 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3626, allocations: 9.719 kB / 0.5362 GB, free: 3.406 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.322e-06/0.3626, allocations: 0 / 0.5362 GB, free: 3.406 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 6.412e-06/0.3626, allocations: 0 / 0.5362 GB, free: 3.406 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: 24
 * Number of variables: 24
Notification: Performance of Generate backend data structure: time 0.0003632/0.363, allocations: 362.2 kB / 0.5366 GB, free: 3.059 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.363, allocations: 8.438 kB / 0.5366 GB, free: 3.059 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.363, allocations: 12.97 kB / 0.5366 GB, free: 3.051 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.3632, allocations: 138.5 kB / 0.5367 GB, free: 2.898 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.3632, allocations: 1.75 kB / 0.5367 GB, free: 2.898 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.3632, allocations: 4.125 kB / 0.5367 GB, free: 2.895 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.3634, allocations: 96.28 kB / 0.5368 GB, free: 2.836 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.3634, allocations: 0 / 0.5368 GB, free: 2.836 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.3634, allocations: 1.375 kB / 0.5368 GB, free: 2.836 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3634, allocations: 0 / 0.5368 GB, free: 2.836 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.726e-05/0.3635, allocations: 58.34 kB / 0.5369 GB, free: 2.816 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001229/0.3636, allocations: 147.8 kB / 0.537 GB, free: 2.645 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.3637, allocations: 76.98 kB / 0.5371 GB, free: 2.598 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.209e-05/0.3638, allocations: 68.66 kB / 0.5371 GB, free: 2.566 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.3638, allocations: 0 / 0.5371 GB, free: 2.566 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.386e-05/0.3638, allocations: 31.94 kB / 0.5372 GB, free: 2.527 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=24): time 8.41e-07/0.3638, allocations: 0 / 0.5372 GB, free: 2.527 MB / 382.1 MB
Notification: Performance of matching and sorting (n=24): time 0.0004056/0.3642, allocations: 305 kB / 0.5375 GB, free: 2.395 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.3642, allocations: 99.5 kB / 0.5376 GB, free: 2.293 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.901e-05/0.3643, allocations: 132.8 kB / 0.5377 GB, free: 2.18 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.3643, allocations: 27.14 kB / 0.5377 GB, free: 2.148 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 2.778e-05/0.3644, allocations: 95.67 kB / 0.5378 GB, free: 2.055 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.151e-05/0.3644, allocations: 80.17 kB / 0.5379 GB, free: 1.984 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.3644, allocations: 27.8 kB / 0.5379 GB, free: 1.961 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 5.554e-05/0.3645, allocations: 331.1 kB / 0.5382 GB, free: 1.633 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.062e-05/0.3646, allocations: 58.7 kB / 0.5383 GB, free: 1.613 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.355e-05/0.3646, allocations: 55.11 kB / 0.5383 GB, free: 1.598 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.3648, allocations: 248.9 kB / 0.5386 GB, free: 1.473 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3648, allocations: 4 kB / 0.5386 GB, free: 1.469 MB / 382.1 MB
Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001988/0.365, allocations: 234.4 kB / 0.5388 GB, free: 1.344 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5e-05/0.365, allocations: 63.66 kB / 0.5389 GB, free: 1.297 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3651, allocations: 3.938 kB / 0.5389 GB, free: 1.293 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3651, allocations: 1.375 kB / 0.5389 GB, free: 1.293 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.3651, allocations: 0 / 0.5389 GB, free: 1.293 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.3651, allocations: 0 / 0.5389 GB, free: 1.293 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.472e-05/0.3651, allocations: 13.39 kB / 0.5389 GB, free: 1.285 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.3651, allocations: 5.5 kB / 0.5389 GB, free: 1.285 MB / 382.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (1):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 1
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.3652, allocations: 196.5 kB / 0.5391 GB, free: 1.113 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.3653, allocations: 17.56 kB / 0.5391 GB, free: 1.105 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.389e-05/0.3653, allocations: 16.02 kB / 0.5391 GB, free: 1.09 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.3653, allocations: 0 / 0.5391 GB, free: 1.09 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.3653, allocations: 0 / 0.5391 GB, free: 1.09 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3653, allocations: 0 / 0.5391 GB, free: 1.09 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.83e-05/0.3654, allocations: 177.1 kB / 0.5393 GB, free: 0.8945 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3654, allocations: 0 / 0.5393 GB, free: 0.8945 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.3654, allocations: 0 / 0.5393 GB, free: 0.8945 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3654, allocations: 1.375 kB / 0.5393 GB, free: 0.8945 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.3654, allocations: 4.125 kB / 0.5393 GB, free: 0.8945 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3654, allocations: 0 / 0.5393 GB, free: 0.8945 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3654, allocations: 5.375 kB / 0.5393 GB, free: 0.8906 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004603/0.3658, allocations: 0.5 MB / 0.5398 GB, free: 0.6523 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.499e-05/0.3659, allocations: 16.72 kB / 0.5398 GB, free: 0.6406 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.3659, allocations: 3.719 kB / 0.5398 GB, free: 0.6406 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.747e-05/0.3659, allocations: 7.906 kB / 0.5398 GB, free: 0.6367 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.3659, allocations: 2.375 kB / 0.5398 GB, free: 0.6367 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.366, allocations: 3.719 kB / 0.5398 GB, free: 0.6367 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 4.712e-05/0.366, allocations: 107.1 kB / 0.5399 GB, free: 0.5469 MB / 382.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.366, allocations: 4 kB / 0.5399 GB, free: 0.543 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0002452/0.3662, allocations: 41.34 kB / 0.5399 GB, free: 0.543 MB / 382.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (1):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 1
 * Record equations: 0
 * When equations: 0
 * 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.000139/0.3664, allocations: 116.3 kB / 0.5401 GB, free: 456 kB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004893/0.3669, allocations: 452.5 kB / 0.5405 GB, free: 264 kB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3669, allocations: 1.75 kB / 0.5405 GB, free: 264 kB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.3671, allocations: 315.6 kB / 0.5408 GB, free: 116 kB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.3674, allocations: 27.64 kB / 0.5408 GB, free: 100 kB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007429/0.3681, allocations: 428.2 kB / 0.5412 GB, free: 15.86 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.3685, allocations: 0.7187 MB / 0.5419 GB, free: 15.14 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 1.938e-05/0.3685, allocations: 1.344 kB / 0.5419 GB, free: 15.14 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.833e-05/0.3685, allocations: 8.625 kB / 0.5419 GB, free: 15.14 MB / 398.1 MB
Notification: Performance of SimCode: time 3e-07/0.3685, allocations: 0 / 0.5419 GB, free: 15.14 MB / 398.1 MB
Notification: Performance of Templates: time 0.005303/0.3738, allocations: 2.078 MB / 0.544 GB, free: 14.12 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.3238372122868896]
Failed to read output from testmodel.py, exit status != 0:
0.38222860638052225 0.39779354799999994 0.031958019000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f1a0dd997b0>