Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.001616/0.001616, allocations: 108.3 kB / 20.43 MB, free: 1.473 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.001891/0.001891, allocations: 182.7 kB / 23.71 MB, free: 4.711 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.55/1.55, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.2377/0.2377, allocations: 38.53 MB / 346.3 MB, free: 2.086 MB / 270.1 MB
"
[Timeout remaining time 179]
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.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD")
translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002409/0.002409, allocations: 67.89 kB / 484.5 MB, free: 11.17 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.4002, allocations: 61.3 MB / 0.533 GB, free: 5.582 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.00541/0.4056, allocations: 4.708 MB / 0.5376 GB, free: 2.199 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002052/0.4077, allocations: 1.586 MB / 0.5392 GB, free: 0.9414 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.4079, allocations: 20.06 kB / 0.5392 GB, free: 0.9297 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0007957/0.4087, allocations: 293.9 kB / 0.5395 GB, free: 0.7031 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004468/0.4091, allocations: 274.9 kB / 0.5397 GB, free: 496 kB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006226/0.4097, allocations: 263 kB / 0.54 GB, free: 304 kB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0006696/0.4104, allocations: 0.6098 MB / 0.5406 GB, free: 15.96 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003556/0.4108, allocations: 173.6 kB / 0.5408 GB, free: 15.85 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003729/0.4111, allocations: 275.2 kB / 0.541 GB, free: 15.7 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.00054/0.4117, allocations: 356.1 kB / 0.5414 GB, free: 15.49 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.295e-05/0.4117, allocations: 33.03 kB / 0.5414 GB, free: 15.49 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003185/0.4121, allocations: 160.5 kB / 0.5415 GB, free: 15.42 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002317/0.4123, allocations: 221.2 kB / 0.5417 GB, free: 15.28 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002883/0.4126, allocations: 253.6 kB / 0.542 GB, free: 15.11 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0007689/0.4133, allocations: 0.6027 MB / 0.5426 GB, free: 14.71 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4134, allocations: 0 / 0.5426 GB, free: 14.71 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.162e-06/0.4134, allocations: 0 / 0.5426 GB, free: 14.71 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 9.057e-06/0.4134, allocations: 3.938 kB / 0.5426 GB, free: 14.71 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: 114
 * Number of variables: 114
Notification: Performance of Generate backend data structure: time 0.001435/0.4148, allocations: 0.6993 MB / 0.5433 GB, free: 14.15 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.4148, allocations: 8.406 kB / 0.5433 GB, free: 14.15 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006313/0.4155, allocations: 94.86 kB / 0.5434 GB, free: 14.1 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007487/0.4162, allocations: 360 kB / 0.5437 GB, free: 13.82 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.4162, allocations: 29.75 kB / 0.5437 GB, free: 13.8 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.4164, allocations: 55.38 kB / 0.5438 GB, free: 13.78 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.4174, allocations: 0.6616 MB / 0.5444 GB, free: 13.31 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.4174, allocations: 3.812 kB / 0.5444 GB, free: 13.31 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.857e-05/0.4175, allocations: 14.97 kB / 0.5445 GB, free: 13.3 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001575/0.4176, allocations: 47.44 kB / 0.5445 GB, free: 13.29 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008554/0.4185, allocations: 493.4 kB / 0.545 GB, free: 13.06 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003868/0.4224, allocations: 3.09 MB / 0.548 GB, free: 10.32 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005115/0.4229, allocations: 231 kB / 0.5482 GB, free: 10.18 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.4231, allocations: 113.6 kB / 0.5483 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.4231, allocations: 11.06 kB / 0.5483 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.4231, allocations: 36.03 kB / 0.5484 GB, free: 10.07 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=23): time 1.713e-06/0.4231, allocations: 1.75 kB / 0.5484 GB, free: 10.07 MB / 398.1 MB
Notification: Performance of matching and sorting (n=24): time 0.00151/0.4246, allocations: 0.827 MB / 0.5492 GB, free: 9.523 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.4247, allocations: 79.61 kB / 0.5492 GB, free: 9.43 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/0.4251, allocations: 329.9 kB / 0.5496 GB, free: 9.223 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.4251, allocations: 30.89 kB / 0.5496 GB, free: 9.188 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.4253, allocations: 301.3 kB / 0.5499 GB, free: 8.918 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 8.371e-05/0.4254, allocations: 91.14 kB / 0.55 GB, free: 8.84 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.4255, allocations: 93.66 kB / 0.5501 GB, free: 8.777 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001937/0.4257, allocations: 343.7 kB / 0.5504 GB, free: 8.441 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.4259, allocations: 136.5 kB / 0.5505 GB, free: 8.375 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003735/0.4263, allocations: 326.2 kB / 0.5508 GB, free: 8.055 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006534/0.427, allocations: 0.4907 MB / 0.5513 GB, free: 7.645 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.427, allocations: 6.281 kB / 0.5513 GB, free: 7.641 MB / 398.1 MB
Notification: Performance of matching and sorting (n=54) (initialization): time 0.001116/0.4281, allocations: 0.5791 MB / 0.5519 GB, free: 7.328 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.4281, allocations: 8.094 kB / 0.5519 GB, free: 7.328 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006441/0.4288, allocations: 336.4 kB / 0.5522 GB, free: 7.152 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004366/0.4292, allocations: 121 kB / 0.5523 GB, free: 7.086 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.4295, allocations: 89.33 kB / 0.5524 GB, free: 7.062 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003026/0.4325, allocations: 3.075 MB / 0.5554 GB, free: 4.156 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.4328, allocations: 18.5 kB / 0.5554 GB, free: 4.148 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.4328, allocations: 25.83 kB / 0.5554 GB, free: 4.141 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: 1 (system.initime)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (48):
 * Single equations (assignments): 46
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,3,100.0%), (1,3,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0003171/0.4331, allocations: 218.7 kB / 0.5557 GB, free: 3.961 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.456e-05/0.4332, allocations: 34.77 kB / 0.5557 GB, free: 3.941 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005636/0.4338, allocations: 321.5 kB / 0.556 GB, free: 3.75 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.4338, allocations: 3.656 kB / 0.556 GB, free: 3.75 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.4338, allocations: 4.969 kB / 0.556 GB, free: 3.746 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.4338, allocations: 0 / 0.556 GB, free: 3.746 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.435, allocations: 0.7779 MB / 0.5568 GB, free: 2.926 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.435, allocations: 4 kB / 0.5568 GB, free: 2.922 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003201/0.4354, allocations: 63.89 kB / 0.5568 GB, free: 2.859 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.4354, allocations: 7.938 kB / 0.5568 GB, free: 2.852 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.4354, allocations: 4 kB / 0.5568 GB, free: 2.848 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.4354, allocations: 8 kB / 0.5568 GB, free: 2.84 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4354, allocations: 0 / 0.5568 GB, free: 2.84 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007746/0.4362, allocations: 0.4978 MB / 0.5573 GB, free: 2.316 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.4363, allocations: 55.77 kB / 0.5574 GB, free: 2.262 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.4363, allocations: 11.94 kB / 0.5574 GB, free: 2.25 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.4365, allocations: 11.98 kB / 0.5574 GB, free: 2.238 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.4366, allocations: 11.97 kB / 0.5574 GB, free: 2.227 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.4366, allocations: 12 kB / 0.5574 GB, free: 2.215 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0002389/0.4368, allocations: 227 kB / 0.5576 GB, free: 1.992 MB / 398.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4368, allocations: 0 / 0.5576 GB, free: 1.992 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0005172/0.4373, allocations: 100 kB / 0.5577 GB, free: 1.895 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27):
 * Single equations (assignments): 26
 * 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.0001271/0.4375, allocations: 99.19 kB / 0.5578 GB, free: 1.785 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.001026/0.4385, allocations: 0.5691 MB / 0.5584 GB, free: 1.191 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4385, allocations: 0 / 0.5584 GB, free: 1.191 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000184/0.4387, allocations: 111.9 kB / 0.5585 GB, free: 1.082 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/0.4392, allocations: 72.02 kB / 0.5586 GB, free: 1.016 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.4409, allocations: 1.024 MB / 0.5596 GB, free: 15.95 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005647/0.4414, allocations: 0.8699 MB / 0.5604 GB, free: 15.06 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.000272/0.4417, allocations: 107.2 kB / 0.5605 GB, free: 14.96 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.461e-05/0.4418, allocations: 39.42 kB / 0.5606 GB, free: 14.92 MB / 414.1 MB
Notification: Performance of SimCode: time 3.4e-07/0.4418, allocations: 0 / 0.5606 GB, free: 14.92 MB / 414.1 MB
Notification: Performance of Templates: time 0.009565/0.4514, allocations: 4.23 MB / 0.5647 GB, free: 10.71 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.473532414063811]
Failed to read output from testmodel.py, exit status != 0:
0.46111694630235434 0.475427831 0.05868036
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f38311ad7b0>