Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.002333/0.002333, allocations: 109.5 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.002433/0.002433, allocations: 187 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.513/1.513, 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.1912/0.1912, allocations: 38.52 MB / 346.3 MB, free: 2.066 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.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase")
translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.003247/0.003247, allocations: 63.88 kB / 484.5 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4249/0.4282, allocations: 61.3 MB / 0.533 GB, free: 5.773 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.007172/0.4354, allocations: 5.663 MB / 0.5386 GB, free: 1.605 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002258/0.4376, allocations: 1.326 MB / 0.5399 GB, free: 0.5352 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002868/0.4379, allocations: 24.19 kB / 0.5399 GB, free: 0.5234 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004774/0.4384, allocations: 138.5 kB / 0.54 GB, free: 424 kB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0008125/0.4392, allocations: 378.5 kB / 0.5404 GB, free: 120 kB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.4395, allocations: 142 kB / 0.5405 GB, free: 0 / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0008886/0.4403, allocations: 0.7481 MB / 0.5412 GB, free: 15.58 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002515/0.4406, allocations: 131.7 kB / 0.5414 GB, free: 15.5 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005092/0.4411, allocations: 349.2 kB / 0.5417 GB, free: 15.3 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006332/0.4417, allocations: 398.8 kB / 0.5421 GB, free: 15.08 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.879e-05/0.4418, allocations: 37.34 kB / 0.5421 GB, free: 15.08 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.714e-05/0.4419, allocations: 40.25 kB / 0.5421 GB, free: 15.07 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002621/0.4422, allocations: 203 kB / 0.5423 GB, free: 14.94 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002835/0.4424, allocations: 245.3 kB / 0.5426 GB, free: 14.79 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0007102/0.4432, allocations: 0.5326 MB / 0.5431 GB, free: 14.43 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4432, allocations: 0 / 0.5431 GB, free: 14.43 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.372e-06/0.4432, allocations: 0 / 0.5431 GB, free: 14.43 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 9.758e-06/0.4432, allocations: 1.312 kB / 0.5431 GB, free: 14.43 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: 101
 * Number of variables: 101
Notification: Performance of Generate backend data structure: time 0.001448/0.4446, allocations: 0.7428 MB / 0.5438 GB, free: 13.84 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.4447, allocations: 10.03 kB / 0.5438 GB, free: 13.84 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.4448, allocations: 53.83 kB / 0.5439 GB, free: 13.81 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008496/0.4456, allocations: 427.1 kB / 0.5443 GB, free: 13.48 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/0.4457, allocations: 32.69 kB / 0.5443 GB, free: 13.46 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.51e-05/0.4457, allocations: 37.22 kB / 0.5444 GB, free: 13.45 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009374/0.4467, allocations: 0.499 MB / 0.5448 GB, free: 13.11 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.4467, allocations: 3.938 kB / 0.5448 GB, free: 13.1 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.493e-05/0.4467, allocations: 16.53 kB / 0.5449 GB, free: 13.09 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.583e-05/0.4468, allocations: 17.41 kB / 0.5449 GB, free: 13.09 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006655/0.4474, allocations: 368.8 kB / 0.5452 GB, free: 12.91 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002954/0.4504, allocations: 2.023 MB / 0.5472 GB, free: 11.15 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004692/0.4509, allocations: 230.5 kB / 0.5474 GB, free: 11.01 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000258/0.4511, allocations: 120.1 kB / 0.5475 GB, free: 10.94 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.4511, allocations: 7.453 kB / 0.5475 GB, free: 10.94 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.4512, allocations: 35.69 kB / 0.5476 GB, free: 10.89 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=22): time 1.303e-06/0.4512, allocations: 0 / 0.5476 GB, free: 10.89 MB / 398.1 MB
Notification: Performance of matching and sorting (n=23): time 0.00145/0.4526, allocations: 0.702 MB / 0.5483 GB, free: 10.41 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/0.4527, allocations: 80.02 kB / 0.5483 GB, free: 10.32 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000479/0.4532, allocations: 381 kB / 0.5487 GB, free: 10.07 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.4532, allocations: 31.14 kB / 0.5487 GB, free: 10.04 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.4534, allocations: 300.3 kB / 0.549 GB, free: 9.77 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.459e-05/0.4535, allocations: 86.31 kB / 0.5491 GB, free: 9.695 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.4536, allocations: 81.67 kB / 0.5492 GB, free: 9.641 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.000185/0.4538, allocations: 348.6 kB / 0.5495 GB, free: 9.301 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.454, allocations: 91.19 kB / 0.5496 GB, free: 9.258 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.4543, allocations: 274.1 kB / 0.5499 GB, free: 8.961 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005003/0.4548, allocations: 402.3 kB / 0.5502 GB, free: 8.598 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.4548, allocations: 2.812 kB / 0.5503 GB, free: 8.598 MB / 398.1 MB
Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008366/0.4556, allocations: 462.3 kB / 0.5507 GB, free: 8.344 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.4556, allocations: 8.094 kB / 0.5507 GB, free: 8.344 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.4557, allocations: 5.844 kB / 0.5507 GB, free: 8.344 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002402/0.4559, allocations: 52.3 kB / 0.5508 GB, free: 8.32 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.4562, allocations: 82.09 kB / 0.5508 GB, free: 8.301 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/0.4581, allocations: 1.515 MB / 0.5523 GB, free: 6.855 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.4584, allocations: 16.62 kB / 0.5523 GB, free: 6.848 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.4584, allocations: 21.62 kB / 0.5523 GB, free: 6.844 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 29
 * Number of states: 0 ()
 * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (46):
 * Single equations (assignments): 45
 * 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,5,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0003274/0.4587, allocations: 204.7 kB / 0.5525 GB, free: 6.672 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.972e-05/0.4588, allocations: 40.14 kB / 0.5526 GB, free: 6.648 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004619/0.4593, allocations: 248.4 kB / 0.5528 GB, free: 6.496 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.4593, allocations: 3.438 kB / 0.5528 GB, free: 6.496 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.4593, allocations: 1.094 kB / 0.5528 GB, free: 6.496 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.4593, allocations: 0 / 0.5528 GB, free: 6.496 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.4604, allocations: 0.6619 MB / 0.5535 GB, free: 5.98 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.4604, allocations: 5.094 kB / 0.5535 GB, free: 5.977 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.4606, allocations: 51.81 kB / 0.5535 GB, free: 5.961 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4606, allocations: 2.312 kB / 0.5535 GB, free: 5.961 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.4606, allocations: 2.5 kB / 0.5535 GB, free: 5.961 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.4606, allocations: 5.156 kB / 0.5535 GB, free: 5.957 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4606, allocations: 1.156 kB / 0.5535 GB, free: 5.957 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005697/0.4612, allocations: 436.8 kB / 0.554 GB, free: 5.652 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.4613, allocations: 46.77 kB / 0.554 GB, free: 5.621 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.4614, allocations: 10.55 kB / 0.554 GB, free: 5.613 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.4615, allocations: 6.344 kB / 0.554 GB, free: 5.609 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.4615, allocations: 14.84 kB / 0.554 GB, free: 5.602 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.4616, allocations: 4.469 kB / 0.554 GB, free: 5.602 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0002845/0.4618, allocations: 261.7 kB / 0.5543 GB, free: 5.438 MB / 398.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.4618, allocations: 0 / 0.5543 GB, free: 5.438 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0004755/0.4623, allocations: 86.78 kB / 0.5544 GB, free: 5.43 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 1 (trafo.i1)
 * 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 (24):
 * Single equations (assignments): 23
 * 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.0001387/0.4625, allocations: 113.3 kB / 0.5545 GB, free: 5.324 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0007477/0.4632, allocations: 371.2 kB / 0.5548 GB, free: 5.094 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4632, allocations: 0 / 0.5548 GB, free: 5.094 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.4634, allocations: 82 kB / 0.5549 GB, free: 5.062 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006417/0.464, allocations: 102.7 kB / 0.555 GB, free: 5.004 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.4657, allocations: 0.8512 MB / 0.5558 GB, free: 4.113 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007496/0.4664, allocations: 0.8623 MB / 0.5567 GB, free: 3.223 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0002658/0.4667, allocations: 80.14 kB / 0.5568 GB, free: 3.141 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.105e-05/0.4668, allocations: 31.44 kB / 0.5568 GB, free: 3.109 MB / 398.1 MB
Notification: Performance of SimCode: time 2.91e-07/0.4668, allocations: 0 / 0.5568 GB, free: 3.109 MB / 398.1 MB
Notification: Performance of Templates: time 0.01007/0.4768, allocations: 3.906 MB / 0.5606 GB, free: 15.24 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.321225523017347]
Failed to read output from testmodel.py, exit status != 0:
0.4869455127045512 0.501412158 0.054949364
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fd9ca6257b0>