Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.001395/0.001395, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.001634/0.001634, allocations: 189.5 kB / 23.72 MB, free: 4.68 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.459/1.459, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.189/0.189, allocations: 38.52 MB / 346.3 MB, free: 2.09 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_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0")
translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 59.91 kB / 484.5 MB, free: 11.17 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.368, allocations: 61.3 MB / 0.533 GB, free: 5.582 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003253/0.3712, allocations: 2.144 MB / 0.5351 GB, free: 4.051 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0006567/0.3719, allocations: 0.5339 MB / 0.5356 GB, free: 3.688 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 4.142e-05/0.3719, allocations: 5.094 kB / 0.5356 GB, free: 3.684 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.3721, allocations: 15.81 kB / 0.5357 GB, free: 3.676 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 7.316e-05/0.3721, allocations: 28.22 kB / 0.5357 GB, free: 3.66 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.3725, allocations: 81.39 kB / 0.5358 GB, free: 3.629 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000113/0.3726, allocations: 54.02 kB / 0.5358 GB, free: 3.613 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.3726, allocations: 2.828 kB / 0.5358 GB, free: 3.613 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 7.326e-05/0.3727, allocations: 42.58 kB / 0.5359 GB, free: 3.59 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 4.897e-05/0.3728, allocations: 33.06 kB / 0.5359 GB, free: 3.578 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.966e-06/0.3728, allocations: 1.75 kB / 0.5359 GB, free: 3.578 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.373, allocations: 126.4 kB / 0.536 GB, free: 3.52 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.426e-05/0.373, allocations: 9.281 kB / 0.536 GB, free: 3.516 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.563e-05/0.373, allocations: 20.95 kB / 0.536 GB, free: 3.5 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.3732, allocations: 102.6 kB / 0.5361 GB, free: 3.449 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3732, allocations: 3.938 kB / 0.5361 GB, free: 3.445 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.203e-06/0.3732, allocations: 0 / 0.5361 GB, free: 3.445 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 9.538e-06/0.3732, allocations: 1.594 kB / 0.5361 GB, free: 3.445 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: 8
 * Number of variables: 8
Notification: Performance of Generate backend data structure: time 0.000265/0.3735, allocations: 313 kB / 0.5364 GB, free: 3.125 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.3735, allocations: 9.625 kB / 0.5365 GB, free: 3.125 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.3735, allocations: 2.312 kB / 0.5365 GB, free: 3.125 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.901e-05/0.3736, allocations: 121.3 kB / 0.5366 GB, free: 2.988 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.3736, allocations: 4.359 kB / 0.5366 GB, free: 2.984 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.3737, allocations: 5.5 kB / 0.5366 GB, free: 2.98 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.3738, allocations: 55.5 kB / 0.5366 GB, free: 2.938 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3738, allocations: 0 / 0.5366 GB, free: 2.938 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3738, allocations: 4 kB / 0.5366 GB, free: 2.934 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.3738, allocations: 1.375 kB / 0.5366 GB, free: 2.934 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.465e-05/0.3738, allocations: 21.73 kB / 0.5367 GB, free: 2.926 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.939e-05/0.3739, allocations: 131.6 kB / 0.5368 GB, free: 2.762 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 5.862e-05/0.374, allocations: 43.14 kB / 0.5368 GB, free: 2.727 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 3.219e-05/0.374, allocations: 26.62 kB / 0.5369 GB, free: 2.711 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.374, allocations: 1.375 kB / 0.5369 GB, free: 2.711 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.374, allocations: 34.5 kB / 0.5369 GB, free: 2.668 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=8): time 9.01e-07/0.374, allocations: 1.375 kB / 0.5369 GB, free: 2.668 MB / 382.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0002059/0.3742, allocations: 140 kB / 0.537 GB, free: 2.582 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.3743, allocations: 90.53 kB / 0.5371 GB, free: 2.48 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.811e-05/0.3743, allocations: 118.2 kB / 0.5372 GB, free: 2.367 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.3743, allocations: 27.08 kB / 0.5372 GB, free: 2.336 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 2.19e-05/0.3743, allocations: 85.52 kB / 0.5373 GB, free: 2.25 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.3744, allocations: 27.86 kB / 0.5374 GB, free: 2.227 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.3744, allocations: 23 kB / 0.5374 GB, free: 2.203 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 4.63e-05/0.3745, allocations: 321.5 kB / 0.5377 GB, free: 1.883 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.014e-05/0.3745, allocations: 22.45 kB / 0.5377 GB, free: 1.875 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.471e-05/0.3745, allocations: 18.44 kB / 0.5377 GB, free: 1.871 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 9.52e-05/0.3746, allocations: 128.8 kB / 0.5378 GB, free: 1.777 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3746, allocations: 0 / 0.5378 GB, free: 1.777 MB / 382.1 MB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001459/0.3748, allocations: 124 kB / 0.538 GB, free: 1.691 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.436e-05/0.3748, allocations: 40.78 kB / 0.538 GB, free: 1.656 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.3748, allocations: 1.656 kB / 0.538 GB, free: 1.656 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.3748, allocations: 0 / 0.538 GB, free: 1.656 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.3748, allocations: 0 / 0.538 GB, free: 1.656 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.3748, allocations: 1.281 kB / 0.538 GB, free: 1.656 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.385e-05/0.3748, allocations: 1.312 kB / 0.538 GB, free: 1.656 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.3748, allocations: 7.172 kB / 0.538 GB, free: 1.652 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 7.431e-05/0.3749, allocations: 169.1 kB / 0.5382 GB, free: 1.484 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.3749, allocations: 8.328 kB / 0.5382 GB, free: 1.48 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.323e-05/0.3749, allocations: 5.469 kB / 0.5382 GB, free: 1.473 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.3749, allocations: 1.219 kB / 0.5382 GB, free: 1.473 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.375, allocations: 0 / 0.5382 GB, free: 1.473 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.375, allocations: 1.062 kB / 0.5382 GB, free: 1.473 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.57e-05/0.375, allocations: 145.4 kB / 0.5383 GB, free: 1.297 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.375, allocations: 3.984 kB / 0.5383 GB, free: 1.293 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.375, allocations: 0 / 0.5383 GB, free: 1.293 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.375, allocations: 5.125 kB / 0.5383 GB, free: 1.289 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.375, allocations: 2.219 kB / 0.5383 GB, free: 1.289 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.375, allocations: 0 / 0.5383 GB, free: 1.289 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.375, allocations: 1.156 kB / 0.5383 GB, free: 1.289 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.3753, allocations: 214.6 kB / 0.5385 GB, free: 1.145 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.079e-05/0.3753, allocations: 8.047 kB / 0.5386 GB, free: 1.141 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.3753, allocations: 0 / 0.5386 GB, free: 1.141 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.609e-05/0.3753, allocations: 6 kB / 0.5386 GB, free: 1.137 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.3753, allocations: 17.94 kB / 0.5386 GB, free: 1.121 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.3753, allocations: 2.906 kB / 0.5386 GB, free: 1.121 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 3.212e-05/0.3754, allocations: 95.05 kB / 0.5387 GB, free: 1.035 MB / 382.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3754, allocations: 0 / 0.5387 GB, free: 1.035 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0002193/0.3756, allocations: 27.34 kB / 0.5387 GB, free: 1.031 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.0001342/0.3757, allocations: 113.4 kB / 0.5388 GB, free: 0.9336 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001966/0.3759, allocations: 166.4 kB / 0.539 GB, free: 0.8359 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3759, allocations: 1.469 kB / 0.539 GB, free: 0.8359 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.396e-05/0.376, allocations: 127.5 kB / 0.5391 GB, free: 0.7461 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.3762, allocations: 9.438 kB / 0.5391 GB, free: 0.7422 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.3766, allocations: 215.7 kB / 0.5393 GB, free: 0.5859 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.3767, allocations: 0.6902 MB / 0.54 GB, free: 15.88 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 1.297e-05/0.3767, allocations: 1.375 kB / 0.54 GB, free: 15.88 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.349e-05/0.3767, allocations: 12.88 kB / 0.54 GB, free: 15.87 MB / 398.1 MB
Notification: Performance of SimCode: time 2.9e-07/0.3767, allocations: 0 / 0.54 GB, free: 15.87 MB / 398.1 MB
Notification: Performance of Templates: time 0.004009/0.3808, allocations: 1.116 MB / 0.5411 GB, free: 15.32 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.187343930825591]
Failed to read output from testmodel.py, exit status != 0:
0.3888191068544984 0.40339893899999996 0.027162416
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f1a60f617b0>