Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.001234/0.001234, allocations: 109.5 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.001336/0.001336, allocations: 181.6 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.587/1.587, 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.1895/0.1895, allocations: 38.54 MB / 346.3 MB, free: 2.059 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.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer")
translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 67.89 kB / 484.5 MB, free: 11.12 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3619, allocations: 61.3 MB / 0.533 GB, free: 5.555 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.007081/0.369, allocations: 4.854 MB / 0.5378 GB, free: 2.066 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002089/0.3711, allocations: 1.363 MB / 0.5391 GB, free: 0.9766 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.3713, allocations: 29.38 kB / 0.5391 GB, free: 0.957 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001072/0.3724, allocations: 405.2 kB / 0.5395 GB, free: 0.6523 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004844/0.3729, allocations: 245.4 kB / 0.5398 GB, free: 464 kB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004649/0.3734, allocations: 178.2 kB / 0.5399 GB, free: 328 kB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004894/0.3738, allocations: 0.5544 MB / 0.5405 GB, free: 4 kB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000464/0.3743, allocations: 222.9 kB / 0.5407 GB, free: 15.87 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004174/0.3747, allocations: 264.9 kB / 0.5409 GB, free: 15.72 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004908/0.3752, allocations: 297.1 kB / 0.5412 GB, free: 15.54 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.085e-05/0.3753, allocations: 30.88 kB / 0.5412 GB, free: 15.54 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003389/0.3756, allocations: 142.3 kB / 0.5414 GB, free: 15.48 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000226/0.3758, allocations: 189.7 kB / 0.5416 GB, free: 15.36 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002626/0.3761, allocations: 224.7 kB / 0.5418 GB, free: 15.21 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0007736/0.3769, allocations: 0.5281 MB / 0.5423 GB, free: 14.86 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3769, allocations: 1 kB / 0.5423 GB, free: 14.86 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.402e-06/0.3769, allocations: 0 / 0.5423 GB, free: 14.86 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 8.657e-06/0.3769, allocations: 0 / 0.5423 GB, free: 14.86 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: 93
 * Number of variables: 93
Notification: Performance of Generate backend data structure: time 0.001311/0.3782, allocations: 0.6556 MB / 0.5429 GB, free: 14.32 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3782, allocations: 10.09 kB / 0.5429 GB, free: 14.32 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000742/0.379, allocations: 92.84 kB / 0.543 GB, free: 14.27 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007751/0.3798, allocations: 352.8 kB / 0.5434 GB, free: 13.99 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.282e-05/0.3798, allocations: 31.44 kB / 0.5434 GB, free: 13.97 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.3799, allocations: 56.25 kB / 0.5435 GB, free: 13.95 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008051/0.3807, allocations: 477.3 kB / 0.5439 GB, free: 13.64 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.3808, allocations: 5.531 kB / 0.5439 GB, free: 13.64 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.424e-05/0.3808, allocations: 18.69 kB / 0.5439 GB, free: 13.62 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001188/0.3809, allocations: 25.73 kB / 0.544 GB, free: 13.62 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006748/0.3816, allocations: 344.4 kB / 0.5443 GB, free: 13.45 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002528/0.3841, allocations: 1.567 MB / 0.5458 GB, free: 12.18 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.3845, allocations: 168.7 kB / 0.546 GB, free: 12.07 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.3847, allocations: 101.7 kB / 0.5461 GB, free: 12.01 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.3847, allocations: 6.875 kB / 0.5461 GB, free: 12.01 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.3848, allocations: 39.92 kB / 0.5461 GB, free: 11.96 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=19): time 1.944e-06/0.3848, allocations: 0 / 0.5461 GB, free: 11.96 MB / 398.1 MB
Notification: Performance of matching and sorting (n=20): time 0.001493/0.3863, allocations: 0.7109 MB / 0.5468 GB, free: 11.48 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.337e-05/0.3863, allocations: 83.67 kB / 0.5469 GB, free: 11.38 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003821/0.3867, allocations: 313 kB / 0.5472 GB, free: 11.18 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.3868, allocations: 30.92 kB / 0.5472 GB, free: 11.14 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.387, allocations: 252.9 kB / 0.5475 GB, free: 10.91 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 8.283e-05/0.387, allocations: 81.77 kB / 0.5475 GB, free: 10.84 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.3872, allocations: 56.36 kB / 0.5476 GB, free: 10.8 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002071/0.3874, allocations: 347.7 kB / 0.5479 GB, free: 10.46 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.3875, allocations: 96.83 kB / 0.548 GB, free: 10.42 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.3878, allocations: 192.6 kB / 0.5482 GB, free: 10.24 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005196/0.3883, allocations: 339.9 kB / 0.5485 GB, free: 9.984 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3883, allocations: 1.188 kB / 0.5485 GB, free: 9.984 MB / 398.1 MB
Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009293/0.3893, allocations: 425.1 kB / 0.5489 GB, free: 9.75 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.3893, allocations: 6.844 kB / 0.5489 GB, free: 9.75 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005592/0.3898, allocations: 262.3 kB / 0.5492 GB, free: 9.621 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004491/0.3903, allocations: 84.25 kB / 0.5493 GB, free: 9.574 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.3906, allocations: 63.81 kB / 0.5493 GB, free: 9.559 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/0.3925, allocations: 1.611 MB / 0.5509 GB, free: 8.062 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.3928, allocations: 13.5 kB / 0.5509 GB, free: 8.055 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.3928, allocations: 15 kB / 0.5509 GB, free: 8.051 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 (34):
 * Single equations (assignments): 33
 * 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): 1 system
   {(1,3,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0002771/0.3931, allocations: 183.5 kB / 0.5511 GB, free: 7.895 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.011e-05/0.3931, allocations: 34.39 kB / 0.5511 GB, free: 7.875 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005166/0.3937, allocations: 272 kB / 0.5514 GB, free: 7.703 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3937, allocations: 2.531 kB / 0.5514 GB, free: 7.703 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.3937, allocations: 1 kB / 0.5514 GB, free: 7.703 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3937, allocations: 0.875 kB / 0.5514 GB, free: 7.703 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.3951, allocations: 0.7336 MB / 0.5521 GB, free: 7.152 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3951, allocations: 4 kB / 0.5521 GB, free: 7.148 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/0.3954, allocations: 56.58 kB / 0.5522 GB, free: 7.133 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.3954, allocations: 5.266 kB / 0.5522 GB, free: 7.129 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.3955, allocations: 11.75 kB / 0.5522 GB, free: 7.121 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3955, allocations: 1.438 kB / 0.5522 GB, free: 7.121 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3955, allocations: 1.25 kB / 0.5522 GB, free: 7.121 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006674/0.3961, allocations: 456.2 kB / 0.5526 GB, free: 6.809 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.967e-05/0.3962, allocations: 33.52 kB / 0.5527 GB, free: 6.785 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.753e-05/0.3963, allocations: 11.94 kB / 0.5527 GB, free: 6.777 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.3964, allocations: 10.84 kB / 0.5527 GB, free: 6.77 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.3965, allocations: 9.641 kB / 0.5527 GB, free: 6.766 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.3965, allocations: 9.422 kB / 0.5527 GB, free: 6.762 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0002699/0.3967, allocations: 218.8 kB / 0.5529 GB, free: 6.621 MB / 398.1 MB
Notification: Performance of sort global known variables: time 1.21e-07/0.3967, allocations: 4 kB / 0.5529 GB, free: 6.617 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0004508/0.3972, allocations: 84.75 kB / 0.553 GB, free: 6.609 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 (23):
 * Single equations (assignments): 22
 * 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.0001545/0.3973, allocations: 101.1 kB / 0.5531 GB, free: 6.512 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.000741/0.3981, allocations: 360.2 kB / 0.5534 GB, free: 6.285 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3981, allocations: 1.312 kB / 0.5534 GB, free: 6.285 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.3982, allocations: 97.34 kB / 0.5535 GB, free: 6.242 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005276/0.3988, allocations: 75.69 kB / 0.5536 GB, free: 6.199 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.4005, allocations: 0.9197 MB / 0.5545 GB, free: 5.477 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006029/0.4011, allocations: 0.8461 MB / 0.5553 GB, free: 4.605 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0001971/0.4013, allocations: 70.89 kB / 0.5554 GB, free: 4.539 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.372e-05/0.4014, allocations: 31.38 kB / 0.5554 GB, free: 4.508 MB / 398.1 MB
Notification: Performance of SimCode: time 4.01e-07/0.4014, allocations: 3.938 kB / 0.5554 GB, free: 4.504 MB / 398.1 MB
Notification: Performance of Templates: time 0.009804/0.4112, allocations: 3.795 MB / 0.5591 GB, free: 0.7344 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.263116386719048]
Failed to read output from testmodel.py, exit status != 0:
0.4210459589958191 0.44470946599999994 0.063083526
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f35d2b917b0>