Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.001293/0.001293, 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.002519/0.002519, 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.518/1.518, 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.1942/0.1942, allocations: 38.52 MB / 346.3 MB, free: 2.062 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.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed")
translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 71.88 kB / 484.5 MB, free: 11.12 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4073, allocations: 61.3 MB / 0.533 GB, free: 5.566 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.008507/0.4158, allocations: 4.956 MB / 0.5379 GB, free: 2.027 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003212/0.419, allocations: 1.495 MB / 0.5393 GB, free: 0.8203 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004343/0.4194, allocations: 21.44 kB / 0.5394 GB, free: 0.8086 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000497/0.4199, allocations: 119.7 kB / 0.5395 GB, free: 0.7109 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0009397/0.4209, allocations: 270.6 kB / 0.5397 GB, free: 0.4961 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004732/0.4214, allocations: 144.4 kB / 0.5399 GB, free: 384 kB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000905/0.4223, allocations: 0.5849 MB / 0.5404 GB, free: 36 kB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005851/0.4228, allocations: 286.8 kB / 0.5407 GB, free: 15.84 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005216/0.4234, allocations: 248 kB / 0.5409 GB, free: 15.7 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000516/0.4239, allocations: 247 kB / 0.5412 GB, free: 15.55 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.81e-05/0.424, allocations: 38.59 kB / 0.5412 GB, free: 15.55 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.4241, allocations: 40.81 kB / 0.5413 GB, free: 15.55 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002296/0.4243, allocations: 125 kB / 0.5414 GB, free: 15.45 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003837/0.4247, allocations: 225.7 kB / 0.5416 GB, free: 15.3 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0009881/0.4257, allocations: 0.4996 MB / 0.5421 GB, free: 14.95 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.4257, allocations: 0 / 0.5421 GB, free: 14.95 MB / 398.1 MB
Notification: Performance of FrontEnd: time 3.467e-06/0.4257, allocations: 4 kB / 0.5421 GB, free: 14.94 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.144e-05/0.4257, allocations: 1.188 kB / 0.5421 GB, free: 14.94 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: 85
 * Number of variables: 85
Notification: Performance of Generate backend data structure: time 0.001995/0.4277, allocations: 0.6487 MB / 0.5427 GB, free: 14.41 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 7.422e-05/0.4278, allocations: 10.16 kB / 0.5427 GB, free: 14.41 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.428, allocations: 46.81 kB / 0.5428 GB, free: 14.39 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009529/0.4289, allocations: 350.2 kB / 0.5431 GB, free: 14.1 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.4291, allocations: 64.12 kB / 0.5432 GB, free: 14.05 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.4292, allocations: 38.92 kB / 0.5432 GB, free: 14.03 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.4303, allocations: 432.6 kB / 0.5436 GB, free: 13.73 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/0.4303, allocations: 1.531 kB / 0.5436 GB, free: 13.73 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.027e-05/0.4303, allocations: 20.45 kB / 0.5436 GB, free: 13.71 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.4304, allocations: 8.156 kB / 0.5436 GB, free: 13.71 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008215/0.4312, allocations: 275.3 kB / 0.5439 GB, free: 13.57 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003282/0.4345, allocations: 1.768 MB / 0.5456 GB, free: 11.98 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005283/0.435, allocations: 177.4 kB / 0.5458 GB, free: 11.84 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.4352, allocations: 70.3 kB / 0.5459 GB, free: 11.79 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.4353, allocations: 2.062 kB / 0.5459 GB, free: 11.79 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.4353, allocations: 45.48 kB / 0.5459 GB, free: 11.74 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=18): time 2.014e-06/0.4353, allocations: 0 / 0.5459 GB, free: 11.74 MB / 398.1 MB
Notification: Performance of matching and sorting (n=19): time 0.002026/0.4373, allocations: 0.6459 MB / 0.5465 GB, free: 11.27 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.17e-05/0.4374, allocations: 109.1 kB / 0.5466 GB, free: 11.14 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005307/0.438, allocations: 313.5 kB / 0.5469 GB, free: 10.93 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.438, allocations: 31.2 kB / 0.547 GB, free: 10.9 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.4382, allocations: 247.4 kB / 0.5472 GB, free: 10.68 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 9.276e-05/0.4383, allocations: 76.5 kB / 0.5473 GB, free: 10.61 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.4385, allocations: 65.27 kB / 0.5473 GB, free: 10.56 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002239/0.4387, allocations: 342.3 kB / 0.5477 GB, free: 10.23 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.4389, allocations: 69.94 kB / 0.5477 GB, free: 10.2 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003798/0.4393, allocations: 201.1 kB / 0.5479 GB, free: 9.992 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006329/0.44, allocations: 297.8 kB / 0.5482 GB, free: 9.734 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.44, allocations: 5.406 kB / 0.5482 GB, free: 9.73 MB / 398.1 MB
Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008514/0.4408, allocations: 321 kB / 0.5485 GB, free: 9.562 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.4408, allocations: 11.03 kB / 0.5485 GB, free: 9.559 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.4408, allocations: 8.438 kB / 0.5485 GB, free: 9.555 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/0.4409, allocations: 5.594 kB / 0.5486 GB, free: 9.555 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004378/0.4413, allocations: 75.34 kB / 0.5486 GB, free: 9.539 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.017e-05/0.4413, allocations: 10.39 kB / 0.5486 GB, free: 9.535 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/0.4416, allocations: 19.2 kB / 0.5487 GB, free: 9.523 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.4417, allocations: 12.41 kB / 0.5487 GB, free: 9.523 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 19
 * 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 (40):
 * Single equations (assignments): 40
 * 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.0002908/0.442, allocations: 181.5 kB / 0.5488 GB, free: 9.363 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.4421, allocations: 39.09 kB / 0.5489 GB, free: 9.34 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005966/0.4427, allocations: 197.2 kB / 0.5491 GB, free: 9.215 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.4427, allocations: 2.844 kB / 0.5491 GB, free: 9.215 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.4427, allocations: 1.406 kB / 0.5491 GB, free: 9.215 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.4427, allocations: 1.562 kB / 0.5491 GB, free: 9.215 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.4442, allocations: 0.5833 MB / 0.5496 GB, free: 8.734 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4442, allocations: 5.344 kB / 0.5496 GB, free: 8.73 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.4446, allocations: 48.34 kB / 0.5497 GB, free: 8.715 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.4446, allocations: 1.438 kB / 0.5497 GB, free: 8.715 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.4446, allocations: 2.625 kB / 0.5497 GB, free: 8.715 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.4446, allocations: 1.25 kB / 0.5497 GB, free: 8.715 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4446, allocations: 1.281 kB / 0.5497 GB, free: 8.715 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.4456, allocations: 457.8 kB / 0.5501 GB, free: 8.367 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 9.639e-05/0.4457, allocations: 24.62 kB / 0.5502 GB, free: 8.352 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.171e-05/0.4458, allocations: 6.031 kB / 0.5502 GB, free: 8.348 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/0.4461, allocations: 11.25 kB / 0.5502 GB, free: 8.34 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.322e-05/0.4461, allocations: 12.77 kB / 0.5502 GB, free: 8.332 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.4462, allocations: 13.12 kB / 0.5502 GB, free: 8.324 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0004205/0.4466, allocations: 224.8 kB / 0.5504 GB, free: 8.172 MB / 398.1 MB
Notification: Performance of sort global known variables: time 1.31e-07/0.4466, allocations: 3.938 kB / 0.5504 GB, free: 8.168 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0007511/0.4473, allocations: 70.34 kB / 0.5505 GB, free: 8.16 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.rotor.phi,machine.rotor.w)
 * 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 (20):
 * Single equations (assignments): 19
 * 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.0001596/0.4475, allocations: 101.3 kB / 0.5506 GB, free: 8.062 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006744/0.4482, allocations: 203 kB / 0.5508 GB, free: 7.969 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.4482, allocations: 1.5 kB / 0.5508 GB, free: 7.969 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002808/0.4485, allocations: 78.67 kB / 0.5508 GB, free: 7.934 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.4496, allocations: 95.27 kB / 0.5509 GB, free: 7.887 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.4526, allocations: 0.8952 MB / 0.5518 GB, free: 7.246 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008606/0.4534, allocations: 0.8219 MB / 0.5526 GB, free: 6.48 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0003348/0.4538, allocations: 48.53 kB / 0.5527 GB, free: 6.457 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.4539, allocations: 27.38 kB / 0.5527 GB, free: 6.449 MB / 398.1 MB
Notification: Performance of SimCode: time 1.292e-06/0.4539, allocations: 0 / 0.5527 GB, free: 6.449 MB / 398.1 MB
Notification: Performance of Templates: time 0.01452/0.4684, allocations: 3.682 MB / 0.5563 GB, free: 3.754 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.252209356054664]
Failed to read output from testmodel.py, exit status != 0:
0.4798171706497669 0.500782738 0.071482006
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f10c856d7b0>