Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.001312/0.001312, allocations: 112 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.001355/0.001355, allocations: 187.8 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.42/1.42, allocations: 225.6 MB / 252.5 MB, free: 13 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.1852/0.1852, allocations: 38.52 MB / 346.3 MB, free: 2.074 MB / 270.1 MB
"
[Timeout remaining time 180]
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.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource")
translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 63.89 kB / 484.5 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3264, allocations: 61.3 MB / 0.533 GB, free: 5.559 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.005936/0.3323, allocations: 4.708 MB / 0.5376 GB, free: 2.172 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002117/0.3344, allocations: 1.326 MB / 0.5389 GB, free: 1.113 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.3346, allocations: 16.56 kB / 0.5389 GB, free: 1.105 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001128/0.3357, allocations: 421.4 kB / 0.5393 GB, free: 0.7852 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004609/0.3362, allocations: 254.4 kB / 0.5396 GB, free: 0.582 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004175/0.3366, allocations: 175.8 kB / 0.5397 GB, free: 460 kB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005332/0.3371, allocations: 0.5599 MB / 0.5403 GB, free: 140 kB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003143/0.3375, allocations: 199.7 kB / 0.5405 GB, free: 20 kB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003552/0.3378, allocations: 254 kB / 0.5407 GB, free: 15.88 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004848/0.3383, allocations: 302.8 kB / 0.541 GB, free: 15.7 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.408e-05/0.3384, allocations: 29.88 kB / 0.541 GB, free: 15.7 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.3386, allocations: 148.9 kB / 0.5412 GB, free: 15.63 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000209/0.3389, allocations: 191.8 kB / 0.5414 GB, free: 15.51 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002716/0.3391, allocations: 219.8 kB / 0.5416 GB, free: 15.37 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006997/0.3398, allocations: 0.5175 MB / 0.5421 GB, free: 15.03 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3398, allocations: 0 / 0.5421 GB, free: 15.03 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.533e-06/0.3398, allocations: 3.938 kB / 0.5421 GB, free: 15.03 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.355e-05/0.3398, allocations: 0 / 0.5421 GB, free: 15.03 MB / 398.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 92
 * Number of variables: 92
Notification: Performance of Generate backend data structure: time 0.001275/0.3411, allocations: 0.6388 MB / 0.5427 GB, free: 14.5 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.3412, allocations: 13.28 kB / 0.5427 GB, free: 14.5 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006045/0.3418, allocations: 92.44 kB / 0.5428 GB, free: 14.45 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007417/0.3425, allocations: 343.7 kB / 0.5431 GB, free: 14.18 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.3425, allocations: 26.72 kB / 0.5432 GB, free: 14.16 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.3427, allocations: 51.56 kB / 0.5432 GB, free: 14.14 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008045/0.3435, allocations: 480.2 kB / 0.5437 GB, free: 13.84 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.3435, allocations: 1 kB / 0.5437 GB, free: 13.84 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.338e-05/0.3435, allocations: 14.52 kB / 0.5437 GB, free: 13.82 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001208/0.3437, allocations: 29.33 kB / 0.5437 GB, free: 13.82 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006149/0.3443, allocations: 348.8 kB / 0.544 GB, free: 13.65 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002539/0.3468, allocations: 1.666 MB / 0.5457 GB, free: 12.26 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.3471, allocations: 143.7 kB / 0.5458 GB, free: 12.16 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.3473, allocations: 106.5 kB / 0.5459 GB, free: 12.09 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.3473, allocations: 10.3 kB / 0.5459 GB, free: 12.09 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.3474, allocations: 40.72 kB / 0.546 GB, free: 12.04 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.3474, allocations: 0 / 0.546 GB, free: 12.04 MB / 398.1 MB
Notification: Performance of matching and sorting (n=17): time 0.001624/0.349, allocations: 0.739 MB / 0.5467 GB, free: 11.54 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/0.3491, allocations: 83.14 kB / 0.5468 GB, free: 11.44 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003634/0.3494, allocations: 319.8 kB / 0.5471 GB, free: 11.23 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.3495, allocations: 26.7 kB / 0.5471 GB, free: 11.2 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.3497, allocations: 253.1 kB / 0.5473 GB, free: 10.98 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.559e-05/0.3497, allocations: 68.53 kB / 0.5474 GB, free: 10.92 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.3498, allocations: 60.7 kB / 0.5475 GB, free: 10.87 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001718/0.35, allocations: 343.4 kB / 0.5478 GB, free: 10.54 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.3502, allocations: 98.62 kB / 0.5479 GB, free: 10.49 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.3504, allocations: 206.2 kB / 0.5481 GB, free: 10.3 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004471/0.3509, allocations: 327 kB / 0.5484 GB, free: 10.05 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3509, allocations: 1.156 kB / 0.5484 GB, free: 10.05 MB / 398.1 MB
Notification: Performance of matching and sorting (n=36) (initialization): time 0.001009/0.3519, allocations: 471.3 kB / 0.5488 GB, free: 9.793 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.3519, allocations: 6.531 kB / 0.5488 GB, free: 9.793 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007325/0.3526, allocations: 308.1 kB / 0.5491 GB, free: 9.637 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0005393/0.3532, allocations: 139.6 kB / 0.5493 GB, free: 9.566 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.3534, allocations: 58.44 kB / 0.5493 GB, free: 9.551 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003108/0.3565, allocations: 2.35 MB / 0.5516 GB, free: 7.578 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.3567, allocations: 10.34 kB / 0.5516 GB, free: 7.574 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/0.3568, allocations: 15.09 kB / 0.5516 GB, free: 7.57 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 15
 * 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 (29):
 * Single equations (assignments): 28
 * Array equations: 0
 * 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): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(2,6)}
Notification: Performance of prepare postOptimizeDAE: time 0.0002572/0.357, allocations: 187.8 kB / 0.5518 GB, free: 7.41 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.547e-05/0.3571, allocations: 29.62 kB / 0.5519 GB, free: 7.395 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004951/0.3576, allocations: 267.6 kB / 0.5521 GB, free: 7.219 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3576, allocations: 5 kB / 0.5521 GB, free: 7.215 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.3576, allocations: 0.9688 kB / 0.5521 GB, free: 7.215 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.3576, allocations: 5.109 kB / 0.5521 GB, free: 7.211 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.3589, allocations: 0.7167 MB / 0.5528 GB, free: 6.66 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3589, allocations: 2.062 kB / 0.5528 GB, free: 6.66 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/0.3591, allocations: 34.08 kB / 0.5529 GB, free: 6.656 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001123/0.3592, allocations: 36.64 kB / 0.5529 GB, free: 6.633 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.3592, allocations: 7.109 kB / 0.5529 GB, free: 6.629 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.3592, allocations: 10.28 kB / 0.5529 GB, free: 6.621 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3592, allocations: 1.062 kB / 0.5529 GB, free: 6.621 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006214/0.3598, allocations: 446.8 kB / 0.5533 GB, free: 6.305 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.055e-05/0.3599, allocations: 32.75 kB / 0.5534 GB, free: 6.281 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.414e-05/0.3599, allocations: 7.625 kB / 0.5534 GB, free: 6.277 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.3601, allocations: 7.422 kB / 0.5534 GB, free: 6.273 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.3602, allocations: 21.86 kB / 0.5534 GB, free: 6.258 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.3602, allocations: 3.781 kB / 0.5534 GB, free: 6.258 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0002831/0.3604, allocations: 220.2 kB / 0.5536 GB, free: 6.113 MB / 398.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3604, allocations: 0 / 0.5536 GB, free: 6.113 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0004933/0.3609, allocations: 86.78 kB / 0.5537 GB, free: 6.105 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 3 (line.i[1],line.i[2],line.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 (16):
 * Single equations (assignments): 14
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 1 system
   {(2,100.0%)}
 * Non-linear Jacobian (size): 0 systems
 * Without analytic Jacobian (size): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001363/0.3611, allocations: 97.31 kB / 0.5538 GB, free: 6.012 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0007887/0.3619, allocations: 394.4 kB / 0.5542 GB, free: 5.762 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3619, allocations: 0 / 0.5542 GB, free: 5.762 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.3621, allocations: 103.4 kB / 0.5543 GB, free: 5.707 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004922/0.3626, allocations: 66.23 kB / 0.5543 GB, free: 5.648 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.3641, allocations: 0.8745 MB / 0.5552 GB, free: 4.734 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005674/0.3646, allocations: 0.838 MB / 0.556 GB, free: 3.871 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0001788/0.3648, allocations: 70.91 kB / 0.5561 GB, free: 3.805 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.664e-05/0.3649, allocations: 31.38 kB / 0.5561 GB, free: 3.773 MB / 398.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.3649, allocations: 3.938 kB / 0.5561 GB, free: 3.77 MB / 398.1 MB
Notification: Performance of Templates: time 0.009239/0.3741, allocations: 4.111 MB / 0.5601 GB, free: 15.68 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.938782126642764]
Failed to read output from testmodel.py, exit status != 0:
0.38252161256968975 0.39848876199999994 0.05527268900000001
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f7d422697b0>