Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.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.00135/0.00135, allocations: 112.4 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.001595/0.001595, allocations: 191.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.465/1.465, 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.2006/0.2006, allocations: 38.53 MB / 346.3 MB, free: 2.086 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.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource")
translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 67.89 kB / 484.5 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3265, allocations: 61.28 MB / 0.533 GB, free: 5.582 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.005575/0.3321, allocations: 4.752 MB / 0.5377 GB, free: 2.168 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001734/0.3338, allocations: 1.33 MB / 0.539 GB, free: 1.105 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001731/0.334, allocations: 20.19 kB / 0.539 GB, free: 1.094 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001083/0.3351, allocations: 410.2 kB / 0.5394 GB, free: 0.7852 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000479/0.3355, allocations: 257 kB / 0.5396 GB, free: 0.5781 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004451/0.336, allocations: 175 kB / 0.5398 GB, free: 456 kB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0006613/0.3367, allocations: 0.5658 MB / 0.5403 GB, free: 128 kB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003746/0.337, allocations: 192.1 kB / 0.5405 GB, free: 16 kB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004905/0.3375, allocations: 270.6 kB / 0.5408 GB, free: 15.86 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005889/0.3381, allocations: 293.5 kB / 0.5411 GB, free: 15.69 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.668e-05/0.3382, allocations: 31.19 kB / 0.5411 GB, free: 15.69 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003907/0.3386, allocations: 144 kB / 0.5412 GB, free: 15.62 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002618/0.3388, allocations: 184.8 kB / 0.5414 GB, free: 15.51 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003132/0.3391, allocations: 219.2 kB / 0.5416 GB, free: 15.37 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0008111/0.34, allocations: 0.516 MB / 0.5421 GB, free: 15.03 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.34, allocations: 0 / 0.5421 GB, free: 15.03 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.403e-06/0.34, allocations: 4 kB / 0.5421 GB, free: 15.02 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 8.977e-06/0.34, allocations: 0 / 0.5421 GB, free: 15.02 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.001358/0.3413, allocations: 0.6331 MB / 0.5427 GB, free: 14.5 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.3414, allocations: 10.25 kB / 0.5427 GB, free: 14.5 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006122/0.342, allocations: 87.66 kB / 0.5428 GB, free: 14.46 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007286/0.3427, allocations: 339.5 kB / 0.5432 GB, free: 14.19 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.3427, allocations: 30.45 kB / 0.5432 GB, free: 14.17 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.3429, allocations: 59.34 kB / 0.5432 GB, free: 14.14 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008048/0.3437, allocations: 472.4 kB / 0.5437 GB, free: 13.84 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.3437, allocations: 1 kB / 0.5437 GB, free: 13.84 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.563e-05/0.3437, allocations: 19.38 kB / 0.5437 GB, free: 13.82 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001171/0.3439, allocations: 28.8 kB / 0.5437 GB, free: 13.82 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006319/0.3445, allocations: 342.4 kB / 0.5441 GB, free: 13.65 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002417/0.3469, allocations: 1.626 MB / 0.5456 GB, free: 12.29 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003169/0.3472, allocations: 151.8 kB / 0.5458 GB, free: 12.18 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.3474, allocations: 94.92 kB / 0.5459 GB, free: 12.12 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.3474, allocations: 9.219 kB / 0.5459 GB, free: 12.11 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.3475, allocations: 36.47 kB / 0.5459 GB, free: 12.07 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.3475, allocations: 0 / 0.5459 GB, free: 12.07 MB / 398.1 MB
Notification: Performance of matching and sorting (n=17): time 0.001485/0.3489, allocations: 0.7097 MB / 0.5466 GB, free: 11.59 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.349, allocations: 82.61 kB / 0.5467 GB, free: 11.49 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000363/0.3494, allocations: 308.4 kB / 0.547 GB, free: 11.29 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.3494, allocations: 31.11 kB / 0.547 GB, free: 11.25 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.3496, allocations: 253.1 kB / 0.5473 GB, free: 11.03 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.698e-05/0.3496, allocations: 71.14 kB / 0.5473 GB, free: 10.96 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.3498, allocations: 61.62 kB / 0.5474 GB, free: 10.92 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002051/0.35, allocations: 342.9 kB / 0.5477 GB, free: 10.58 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.3501, allocations: 98.2 kB / 0.5478 GB, free: 10.53 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003113/0.3505, allocations: 196.5 kB / 0.548 GB, free: 10.35 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004652/0.3509, allocations: 320.8 kB / 0.5483 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3509, allocations: 5.281 kB / 0.5483 GB, free: 10.1 MB / 398.1 MB
Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009096/0.3518, allocations: 446.5 kB / 0.5487 GB, free: 9.855 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.3519, allocations: 8.25 kB / 0.5487 GB, free: 9.855 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006102/0.3525, allocations: 291.1 kB / 0.549 GB, free: 9.707 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000491/0.353, allocations: 128.9 kB / 0.5491 GB, free: 9.645 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.3532, allocations: 54.84 kB / 0.5492 GB, free: 9.633 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002934/0.3561, allocations: 2.28 MB / 0.5514 GB, free: 7.699 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.3563, allocations: 18.73 kB / 0.5514 GB, free: 7.688 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.3563, allocations: 13.72 kB / 0.5515 GB, free: 7.684 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.0002584/0.3566, allocations: 191.7 kB / 0.5516 GB, free: 7.52 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.523e-05/0.3567, allocations: 37.39 kB / 0.5517 GB, free: 7.496 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004549/0.3571, allocations: 239.1 kB / 0.5519 GB, free: 7.344 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.3571, allocations: 10.2 kB / 0.5519 GB, free: 7.336 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3571, allocations: 5.094 kB / 0.5519 GB, free: 7.332 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3571, allocations: 0 / 0.5519 GB, free: 7.332 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.3583, allocations: 0.6883 MB / 0.5526 GB, free: 6.801 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3583, allocations: 1.25 kB / 0.5526 GB, free: 6.801 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.3585, allocations: 42.89 kB / 0.5526 GB, free: 6.789 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001036/0.3586, allocations: 30.67 kB / 0.5527 GB, free: 6.77 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.3586, allocations: 7.25 kB / 0.5527 GB, free: 6.766 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/0.36, allocations: 1.489 MB / 0.5541 GB, free: 5.305 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.36, allocations: 1.062 kB / 0.5541 GB, free: 5.305 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006431/0.3607, allocations: 419.4 kB / 0.5545 GB, free: 5.004 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.415e-05/0.3608, allocations: 32.59 kB / 0.5546 GB, free: 4.98 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.3608, allocations: 11.25 kB / 0.5546 GB, free: 4.973 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.361, allocations: 12.61 kB / 0.5546 GB, free: 4.965 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.361, allocations: 12.2 kB / 0.5546 GB, free: 4.957 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.361, allocations: 12.75 kB / 0.5546 GB, free: 4.949 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0002559/0.3613, allocations: 217 kB / 0.5548 GB, free: 4.809 MB / 398.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3613, allocations: 1.156 kB / 0.5548 GB, free: 4.809 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0005143/0.3618, allocations: 87 kB / 0.5549 GB, free: 4.801 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): 0 systems
 * Non-linear Jacobian (size): 1 system
   {2}
 * Without analytic Jacobian (size): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001288/0.3619, allocations: 97.25 kB / 0.555 GB, free: 4.711 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0007557/0.3627, allocations: 382.2 kB / 0.5553 GB, free: 4.465 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3627, allocations: 0 / 0.5553 GB, free: 4.465 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003529/0.363, allocations: 233.9 kB / 0.5556 GB, free: 4.281 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/0.3635, allocations: 66.22 kB / 0.5556 GB, free: 4.223 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.365, allocations: 0.8783 MB / 0.5565 GB, free: 3.305 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.3655, allocations: 0.8419 MB / 0.5573 GB, free: 2.438 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.000157/0.3657, allocations: 58.92 kB / 0.5574 GB, free: 2.383 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.3657, allocations: 23.44 kB / 0.5574 GB, free: 2.359 MB / 398.1 MB
Notification: Performance of SimCode: time 2.91e-07/0.3657, allocations: 0 / 0.5574 GB, free: 2.359 MB / 398.1 MB
Notification: Performance of Templates: time 0.009071/0.3748, allocations: 4.27 MB / 0.5616 GB, free: 14.11 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.093648909591138]
Failed to read output from testmodel.py, exit status != 0:
0.3831096524372697 0.39676015000000003 0.053832789000000006
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f797f6457b0>