Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Frequency.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.001739/0.001739, 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.001873/0.001873, allocations: 183.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.463/1.463, 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.1848/0.1848, allocations: 38.52 MB / 346.3 MB, free: 2.055 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.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency")
translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 63.89 kB / 484.5 MB, free: 11.13 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3222, allocations: 61.3 MB / 0.533 GB, free: 5.555 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.005594/0.3278, allocations: 5.59 MB / 0.5385 GB, free: 1.473 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001562/0.3294, allocations: 1.122 MB / 0.5396 GB, free: 0.5625 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.3296, allocations: 30.69 kB / 0.5396 GB, free: 0.543 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000209/0.3298, allocations: 83.45 kB / 0.5397 GB, free: 480 kB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005801/0.3304, allocations: 299.8 kB / 0.54 GB, free: 228 kB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.3306, allocations: 152.4 kB / 0.5401 GB, free: 100 kB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0007532/0.3314, allocations: 0.6979 MB / 0.5408 GB, free: 15.7 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002422/0.3316, allocations: 109.8 kB / 0.5409 GB, free: 15.63 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005038/0.3321, allocations: 329.4 kB / 0.5412 GB, free: 15.44 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005362/0.3327, allocations: 339.8 kB / 0.5415 GB, free: 15.25 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.318e-05/0.3327, allocations: 32.25 kB / 0.5416 GB, free: 15.25 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.771e-05/0.3328, allocations: 33.53 kB / 0.5416 GB, free: 15.25 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.333, allocations: 163.1 kB / 0.5418 GB, free: 15.14 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002562/0.3333, allocations: 239.5 kB / 0.542 GB, free: 14.99 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006044/0.3339, allocations: 0.4886 MB / 0.5425 GB, free: 14.66 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3339, allocations: 0 / 0.5425 GB, free: 14.66 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.723e-06/0.3339, allocations: 1.438 kB / 0.5425 GB, free: 14.66 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.394e-05/0.3339, allocations: 0 / 0.5425 GB, free: 14.66 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: 90
 * Number of variables: 90
Notification: Performance of Generate backend data structure: time 0.001423/0.3353, allocations: 0.7232 MB / 0.5432 GB, free: 14.08 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3353, allocations: 13.92 kB / 0.5432 GB, free: 14.08 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.3355, allocations: 53.89 kB / 0.5432 GB, free: 14.05 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007616/0.3362, allocations: 402.4 kB / 0.5436 GB, free: 13.73 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.3362, allocations: 27.25 kB / 0.5436 GB, free: 13.71 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.566e-05/0.3363, allocations: 36 kB / 0.5437 GB, free: 13.7 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007057/0.337, allocations: 460.3 kB / 0.5441 GB, free: 13.39 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.337, allocations: 7.281 kB / 0.5441 GB, free: 13.38 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.3371, allocations: 15.16 kB / 0.5441 GB, free: 13.37 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.3371, allocations: 9.062 kB / 0.5441 GB, free: 13.37 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005121/0.3376, allocations: 306.4 kB / 0.5444 GB, free: 13.23 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.3397, allocations: 1.723 MB / 0.5461 GB, free: 11.68 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.34, allocations: 144 kB / 0.5463 GB, free: 11.56 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 9.418e-05/0.3401, allocations: 55.75 kB / 0.5463 GB, free: 11.52 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.3401, allocations: 6.234 kB / 0.5463 GB, free: 11.52 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.3402, allocations: 40.97 kB / 0.5464 GB, free: 11.47 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.3402, allocations: 0 / 0.5464 GB, free: 11.47 MB / 398.1 MB
Notification: Performance of matching and sorting (n=15): time 0.001021/0.3412, allocations: 0.5434 MB / 0.5469 GB, free: 11.04 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/0.3413, allocations: 107.9 kB / 0.547 GB, free: 10.91 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004124/0.3417, allocations: 369.5 kB / 0.5473 GB, free: 10.68 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.3417, allocations: 30.89 kB / 0.5474 GB, free: 10.65 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.3419, allocations: 292.3 kB / 0.5476 GB, free: 10.38 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.434e-05/0.342, allocations: 59.36 kB / 0.5477 GB, free: 10.33 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.772e-05/0.342, allocations: 59.28 kB / 0.5478 GB, free: 10.29 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001747/0.3422, allocations: 347.4 kB / 0.5481 GB, free: 9.949 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.3423, allocations: 47.11 kB / 0.5481 GB, free: 9.93 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.3426, allocations: 198.8 kB / 0.5483 GB, free: 9.707 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/0.3429, allocations: 264.8 kB / 0.5486 GB, free: 9.449 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3429, allocations: 2.188 kB / 0.5486 GB, free: 9.449 MB / 398.1 MB
Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004579/0.3433, allocations: 300.9 kB / 0.5489 GB, free: 9.281 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3434, allocations: 6.812 kB / 0.5489 GB, free: 9.281 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.3434, allocations: 9.953 kB / 0.5489 GB, free: 9.277 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.3434, allocations: 6.656 kB / 0.5489 GB, free: 9.277 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.3437, allocations: 67.09 kB / 0.549 GB, free: 9.266 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.518e-05/0.3437, allocations: 9.75 kB / 0.549 GB, free: 9.262 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.3439, allocations: 22.59 kB / 0.549 GB, free: 9.246 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.3439, allocations: 13.28 kB / 0.549 GB, free: 9.246 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 22
 * 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 (37):
 * Single equations (assignments): 37
 * Array equations: 0
 * Algorithm blocks: 0
 * 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.0002127/0.3441, allocations: 183.1 kB / 0.5492 GB, free: 9.086 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.183e-05/0.3442, allocations: 40.91 kB / 0.5492 GB, free: 9.062 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000323/0.3445, allocations: 168 kB / 0.5494 GB, free: 8.949 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3445, allocations: 2.094 kB / 0.5494 GB, free: 8.949 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3445, allocations: 5.125 kB / 0.5494 GB, free: 8.945 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3445, allocations: 9.172 kB / 0.5494 GB, free: 8.938 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007254/0.3453, allocations: 0.4975 MB / 0.5499 GB, free: 8.504 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3453, allocations: 1 kB / 0.5499 GB, free: 8.504 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.3454, allocations: 32.36 kB / 0.5499 GB, free: 8.5 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3454, allocations: 2.25 kB / 0.5499 GB, free: 8.5 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.3455, allocations: 6.125 kB / 0.5499 GB, free: 8.496 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3455, allocations: 1.062 kB / 0.5499 GB, free: 8.496 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.3455, allocations: 6.125 kB / 0.5499 GB, free: 8.492 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004693/0.3459, allocations: 403.9 kB / 0.5503 GB, free: 8.172 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.142e-05/0.346, allocations: 34.33 kB / 0.5503 GB, free: 8.148 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/0.346, allocations: 10.62 kB / 0.5504 GB, free: 8.141 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.3462, allocations: 5.344 kB / 0.5504 GB, free: 8.137 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.3463, allocations: 20.64 kB / 0.5504 GB, free: 8.121 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.3463, allocations: 4.75 kB / 0.5504 GB, free: 8.121 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0002719/0.3465, allocations: 255.4 kB / 0.5506 GB, free: 7.961 MB / 398.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3465, allocations: 0 / 0.5506 GB, free: 7.961 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0004334/0.347, allocations: 69.41 kB / 0.5507 GB, free: 7.957 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 3 (ind1.i,voltage2.theta,ind2.i)
 * 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 (18):
 * Single equations (assignments): 17
 * 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.0001049/0.3471, allocations: 100.4 kB / 0.5508 GB, free: 7.859 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002837/0.3474, allocations: 148.2 kB / 0.5509 GB, free: 7.797 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3474, allocations: 1.312 kB / 0.5509 GB, free: 7.797 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 9.345e-05/0.3475, allocations: 55.39 kB / 0.551 GB, free: 7.773 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007405/0.3482, allocations: 105.3 kB / 0.5511 GB, free: 7.715 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.3496, allocations: 0.8704 MB / 0.5519 GB, free: 7.098 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.3501, allocations: 0.843 MB / 0.5528 GB, free: 6.324 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0001581/0.3503, allocations: 50.45 kB / 0.5528 GB, free: 6.297 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.851e-05/0.3504, allocations: 27.94 kB / 0.5528 GB, free: 6.293 MB / 398.1 MB
Notification: Performance of SimCode: time 4.11e-07/0.3504, allocations: 192 / 0.5528 GB, free: 6.293 MB / 398.1 MB
Notification: Performance of Templates: time 0.008621/0.359, allocations: 3.497 MB / 0.5562 GB, free: 3.703 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Frequency.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Frequency  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.974585205316544]
Failed to read output from testmodel.py, exit status != 0:
0.3672556532546878 0.38177728400000005 0.044658275000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f814113d7b0>