Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.001334/0.001334, allocations: 112.2 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.001427/0.001427, allocations: 180.9 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.494/1.494, 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.1869/0.1869, allocations: 38.53 MB / 346.3 MB, free: 2.078 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.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest")
translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.91 kB / 484.5 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3321, allocations: 61.29 MB / 0.533 GB, free: 5.57 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.004977/0.3371, allocations: 3.56 MB / 0.5365 GB, free: 3.062 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001697/0.3388, allocations: 1.467 MB / 0.5379 GB, free: 1.914 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.3389, allocations: 13.38 kB / 0.5379 GB, free: 1.906 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0008793/0.3398, allocations: 259.4 kB / 0.5382 GB, free: 1.711 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005502/0.3403, allocations: 286.2 kB / 0.5385 GB, free: 1.492 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.3406, allocations: 111.2 kB / 0.5386 GB, free: 1.41 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003658/0.3409, allocations: 340.3 kB / 0.5389 GB, free: 1.227 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.3412, allocations: 98.48 kB / 0.539 GB, free: 1.168 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.3414, allocations: 151.8 kB / 0.5391 GB, free: 1.082 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.3416, allocations: 161.6 kB / 0.5393 GB, free: 0.9883 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.883e-05/0.3417, allocations: 18.44 kB / 0.5393 GB, free: 0.9844 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004368/0.3421, allocations: 321 kB / 0.5396 GB, free: 0.8086 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.3422, allocations: 102.2 kB / 0.5397 GB, free: 0.7461 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.3423, allocations: 110.2 kB / 0.5398 GB, free: 0.6758 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004322/0.3427, allocations: 339.8 kB / 0.5401 GB, free: 492 kB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3427, allocations: 0 / 0.5401 GB, free: 492 kB / 382.1 MB
Notification: Performance of FrontEnd: time 1.362e-06/0.3427, allocations: 0 / 0.5401 GB, free: 492 kB / 382.1 MB
Notification: Performance of Transformations before backend: time 6.863e-06/0.3428, allocations: 0 / 0.5401 GB, free: 492 kB / 382.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 49
 * Number of variables: 49
Notification: Performance of Generate backend data structure: time 0.0006046/0.3434, allocations: 458.8 kB / 0.5406 GB, free: 76 kB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.3434, allocations: 13.22 kB / 0.5406 GB, free: 72 kB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008323/0.3442, allocations: 87.86 kB / 0.5407 GB, free: 32 kB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.3446, allocations: 206.4 kB / 0.5409 GB, free: 15.84 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.3446, allocations: 11.5 kB / 0.5409 GB, free: 15.84 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.607e-05/0.3447, allocations: 23.28 kB / 0.5409 GB, free: 15.83 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005303/0.3452, allocations: 316.9 kB / 0.5412 GB, free: 15.61 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.3452, allocations: 0 / 0.5412 GB, free: 15.61 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.3453, allocations: 9.953 kB / 0.5412 GB, free: 15.6 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-05/0.3453, allocations: 20.7 kB / 0.5412 GB, free: 15.59 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005018/0.3458, allocations: 287.8 kB / 0.5415 GB, free: 15.46 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.3476, allocations: 1.259 MB / 0.5427 GB, free: 14.36 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005842/0.3482, allocations: 203.4 kB / 0.5429 GB, free: 14.24 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 9.772e-05/0.3483, allocations: 51.61 kB / 0.543 GB, free: 14.21 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.3483, allocations: 10.55 kB / 0.543 GB, free: 14.2 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.3484, allocations: 39.91 kB / 0.543 GB, free: 14.15 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.3484, allocations: 3.938 kB / 0.543 GB, free: 14.15 MB / 398.1 MB
Notification: Performance of matching and sorting (n=14): time 0.001034/0.3494, allocations: 354.5 kB / 0.5434 GB, free: 13.94 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.74e-05/0.3495, allocations: 84.06 kB / 0.5435 GB, free: 13.84 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.3497, allocations: 194.5 kB / 0.5436 GB, free: 13.7 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.3498, allocations: 30.86 kB / 0.5437 GB, free: 13.66 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.3499, allocations: 172 kB / 0.5438 GB, free: 13.5 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.646e-05/0.35, allocations: 53.97 kB / 0.5439 GB, free: 13.45 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-05/0.35, allocations: 41.89 kB / 0.5439 GB, free: 13.42 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001793/0.3502, allocations: 330.8 kB / 0.5442 GB, free: 13.09 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.3503, allocations: 52.66 kB / 0.5443 GB, free: 13.07 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.3505, allocations: 151 kB / 0.5444 GB, free: 12.91 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/0.3508, allocations: 226.5 kB / 0.5446 GB, free: 12.72 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3508, allocations: 1.062 kB / 0.5446 GB, free: 12.72 MB / 398.1 MB
Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004945/0.3513, allocations: 260.5 kB / 0.5449 GB, free: 12.57 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.3514, allocations: 12.17 kB / 0.5449 GB, free: 12.57 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.3514, allocations: 2.281 kB / 0.5449 GB, free: 12.57 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002811/0.3517, allocations: 37.67 kB / 0.5449 GB, free: 12.55 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.3518, allocations: 44.39 kB / 0.545 GB, free: 12.54 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.3531, allocations: 1.344 MB / 0.5463 GB, free: 11.18 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.3533, allocations: 13.08 kB / 0.5463 GB, free: 11.18 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.3533, allocations: 9.125 kB / 0.5463 GB, free: 11.18 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 (24):
 * Single equations (assignments): 23
 * 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,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0001707/0.3535, allocations: 149.7 kB / 0.5465 GB, free: 11.04 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.3535, allocations: 23.83 kB / 0.5465 GB, free: 11.02 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004314/0.3539, allocations: 192.7 kB / 0.5467 GB, free: 10.9 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3539, allocations: 2.312 kB / 0.5467 GB, free: 10.9 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3539, allocations: 9.266 kB / 0.5467 GB, free: 10.89 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.354, allocations: 0 / 0.5467 GB, free: 10.89 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008544/0.3548, allocations: 0.5302 MB / 0.5472 GB, free: 10.44 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3548, allocations: 1.094 kB / 0.5472 GB, free: 10.44 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.267e-05/0.3549, allocations: 20.42 kB / 0.5472 GB, free: 10.44 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001447/0.355, allocations: 40.02 kB / 0.5473 GB, free: 10.41 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.3551, allocations: 10.02 kB / 0.5473 GB, free: 10.4 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.3562, allocations: 1.32 MB / 0.5486 GB, free: 9.074 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.3562, allocations: 5.047 kB / 0.5486 GB, free: 9.07 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004178/0.3566, allocations: 294.2 kB / 0.5488 GB, free: 8.828 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.3567, allocations: 22.84 kB / 0.5489 GB, free: 8.812 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.3567, allocations: 5.922 kB / 0.5489 GB, free: 8.809 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.3568, allocations: 3.094 kB / 0.5489 GB, free: 8.809 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.3569, allocations: 20.45 kB / 0.5489 GB, free: 8.793 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.3569, allocations: 4.312 kB / 0.5489 GB, free: 8.793 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001592/0.357, allocations: 146.7 kB / 0.549 GB, free: 8.684 MB / 398.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.357, allocations: 0 / 0.549 GB, free: 8.684 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0003998/0.3574, allocations: 56.72 kB / 0.5491 GB, free: 8.672 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 5
 * 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 simulation (14):
 * Single equations (assignments): 12
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * 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,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001324/0.3576, allocations: 95.75 kB / 0.5492 GB, free: 8.578 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005213/0.3581, allocations: 263.5 kB / 0.5494 GB, free: 8.395 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3581, allocations: 1.094 kB / 0.5494 GB, free: 8.395 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002464/0.3583, allocations: 176 kB / 0.5496 GB, free: 8.25 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.3587, allocations: 34.19 kB / 0.5496 GB, free: 8.23 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008321/0.3596, allocations: 456.5 kB / 0.5501 GB, free: 7.902 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.36, allocations: 0.766 MB / 0.5508 GB, free: 7.16 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0001112/0.3601, allocations: 38.84 kB / 0.5509 GB, free: 7.141 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.3601, allocations: 16.66 kB / 0.5509 GB, free: 7.133 MB / 398.1 MB
Notification: Performance of SimCode: time 3.3e-07/0.3601, allocations: 7.938 kB / 0.5509 GB, free: 7.125 MB / 398.1 MB
Notification: Performance of Templates: time 0.005553/0.3657, allocations: 1.823 MB / 0.5527 GB, free: 6.23 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.047298312187195]
Failed to read output from testmodel.py, exit status != 0:
0.3749193251132965 0.388978658 0.043207394
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f5a722317b0>