Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.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.001905/0.001905, allocations: 112.2 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.001493/0.001493, allocations: 187.8 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.454/1.454, 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.1875/0.1875, allocations: 38.53 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.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor")
translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 71.88 kB / 484.5 MB, free: 11.13 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3767, allocations: 61.29 MB / 0.533 GB, free: 5.566 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.006665/0.3834, allocations: 4.666 MB / 0.5376 GB, free: 2.23 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002641/0.386, allocations: 1.427 MB / 0.539 GB, free: 1.094 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002403/0.3863, allocations: 20.78 kB / 0.539 GB, free: 1.082 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0009049/0.3872, allocations: 298.5 kB / 0.5393 GB, free: 0.8516 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005517/0.3877, allocations: 286.9 kB / 0.5396 GB, free: 0.625 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006702/0.3884, allocations: 257.6 kB / 0.5398 GB, free: 452 kB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0006288/0.389, allocations: 0.6586 MB / 0.5404 GB, free: 76 kB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003314/0.3894, allocations: 171.7 kB / 0.5406 GB, free: 15.96 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004194/0.3898, allocations: 303.9 kB / 0.5409 GB, free: 15.8 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000683/0.3905, allocations: 448.4 kB / 0.5413 GB, free: 15.54 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.883e-05/0.3906, allocations: 47.03 kB / 0.5414 GB, free: 15.54 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005076/0.3911, allocations: 228.9 kB / 0.5416 GB, free: 15.45 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0003119/0.3914, allocations: 254.3 kB / 0.5418 GB, free: 15.29 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003653/0.3917, allocations: 293 kB / 0.5421 GB, free: 15.09 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001074/0.3928, allocations: 0.7498 MB / 0.5428 GB, free: 14.6 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3928, allocations: 0 / 0.5428 GB, free: 14.6 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.522e-06/0.3928, allocations: 0 / 0.5428 GB, free: 14.6 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.064e-05/0.3928, allocations: 0 / 0.5428 GB, free: 14.6 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: 135
 * Number of variables: 135
Notification: Performance of Generate backend data structure: time 0.001887/0.3947, allocations: 0.8307 MB / 0.5437 GB, free: 13.94 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.3948, allocations: 10.25 kB / 0.5437 GB, free: 13.94 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006268/0.3954, allocations: 99.05 kB / 0.5438 GB, free: 13.89 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007963/0.3962, allocations: 369.9 kB / 0.5441 GB, free: 13.61 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.3962, allocations: 33.86 kB / 0.5441 GB, free: 13.59 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.775e-05/0.3963, allocations: 39.09 kB / 0.5442 GB, free: 13.58 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.3977, allocations: 0.8697 MB / 0.545 GB, free: 13.06 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.3977, allocations: 5.016 kB / 0.545 GB, free: 13.05 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.375e-05/0.3978, allocations: 17.91 kB / 0.5451 GB, free: 13.04 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001602/0.3979, allocations: 67.17 kB / 0.5451 GB, free: 13.02 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.3992, allocations: 0.7916 MB / 0.5459 GB, free: 12.67 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00424/0.4035, allocations: 2.651 MB / 0.5485 GB, free: 10.54 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008619/0.4043, allocations: 499.2 kB / 0.549 GB, free: 10.29 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004783/0.4048, allocations: 360 kB / 0.5493 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/0.4049, allocations: 3.656 kB / 0.5493 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.4049, allocations: 37.09 kB / 0.5493 GB, free: 10.08 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=56): time 2.755e-06/0.4049, allocations: 0 / 0.5493 GB, free: 10.08 MB / 398.1 MB
Notification: Performance of matching and sorting (n=57): time 0.003212/0.4081, allocations: 1.822 MB / 0.5511 GB, free: 9.176 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.4082, allocations: 137.8 kB / 0.5512 GB, free: 9.039 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.4086, allocations: 293.9 kB / 0.5515 GB, free: 8.844 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.4086, allocations: 32.33 kB / 0.5516 GB, free: 8.809 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.4088, allocations: 263.2 kB / 0.5518 GB, free: 8.574 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.409, allocations: 198 kB / 0.552 GB, free: 8.383 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.4092, allocations: 102.1 kB / 0.5521 GB, free: 8.277 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001654/0.4093, allocations: 354.7 kB / 0.5524 GB, free: 7.922 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004846/0.4098, allocations: 340.9 kB / 0.5528 GB, free: 7.59 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006331/0.4104, allocations: 493.7 kB / 0.5532 GB, free: 7.047 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.4117, allocations: 0.976 MB / 0.5542 GB, free: 6 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4117, allocations: 8 kB / 0.5542 GB, free: 5.992 MB / 398.1 MB
Notification: Performance of matching and sorting (n=73) (initialization): time 0.001568/0.4133, allocations: 0.9773 MB / 0.5551 GB, free: 5 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.4134, allocations: 81.66 kB / 0.5552 GB, free: 4.914 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.4134, allocations: 7.938 kB / 0.5552 GB, free: 4.906 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002159/0.4136, allocations: 40.83 kB / 0.5553 GB, free: 4.863 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/0.414, allocations: 83.83 kB / 0.5553 GB, free: 4.781 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/0.4155, allocations: 1.452 MB / 0.5568 GB, free: 3.215 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003699/0.4158, allocations: 35.91 kB / 0.5568 GB, free: 3.18 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-05/0.4159, allocations: 31.98 kB / 0.5568 GB, free: 3.148 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: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1],system.initime)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (45):
 * Single equations (assignments): 41
 * Array equations: 2
 * Algorithm blocks: 1
 * 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,3,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0004945/0.4164, allocations: 303.4 kB / 0.5571 GB, free: 2.836 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.4165, allocations: 47.7 kB / 0.5572 GB, free: 2.789 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001677/0.4182, allocations: 1.079 MB / 0.5582 GB, free: 1.688 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.346e-05/0.4182, allocations: 12 kB / 0.5582 GB, free: 1.676 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.4183, allocations: 0 / 0.5582 GB, free: 1.676 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/0.4183, allocations: 3.984 kB / 0.5582 GB, free: 1.672 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/0.4211, allocations: 1.774 MB / 0.56 GB, free: 15.83 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.4211, allocations: 0 / 0.56 GB, free: 15.83 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.4214, allocations: 55.89 kB / 0.56 GB, free: 15.77 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001209/0.4215, allocations: 36.84 kB / 0.5601 GB, free: 15.73 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.843e-05/0.4215, allocations: 11.98 kB / 0.5601 GB, free: 15.72 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.4229, allocations: 1.455 MB / 0.5615 GB, free: 14.16 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4229, allocations: 0 / 0.5615 GB, free: 14.16 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.4245, allocations: 1.178 MB / 0.5626 GB, free: 12.95 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.000283/0.4248, allocations: 95.67 kB / 0.5627 GB, free: 12.85 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.844e-05/0.4249, allocations: 19.98 kB / 0.5627 GB, free: 12.83 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.4251, allocations: 27.91 kB / 0.5628 GB, free: 12.8 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.4253, allocations: 47.88 kB / 0.5628 GB, free: 12.76 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/0.4253, allocations: 16 kB / 0.5628 GB, free: 12.74 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0002377/0.4256, allocations: 203.1 kB / 0.563 GB, free: 12.54 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4256, allocations: 0 / 0.563 GB, free: 12.54 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.000689/0.4263, allocations: 147.9 kB / 0.5632 GB, free: 12.4 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3])
 * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1])
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (30):
 * Single equations (assignments): 25
 * Array equations: 2
 * Algorithm blocks: 1
 * 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,3,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.000276/0.4265, allocations: 143.1 kB / 0.5633 GB, free: 12.25 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.001692/0.4282, allocations: 1.139 MB / 0.5644 GB, free: 11.08 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4282, allocations: 0 / 0.5644 GB, free: 11.08 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000932/0.4292, allocations: 0.7024 MB / 0.5651 GB, free: 10.36 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005743/0.4297, allocations: 79.05 kB / 0.5652 GB, free: 10.29 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.4319, allocations: 1.401 MB / 0.5665 GB, free: 8.844 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005958/0.4325, allocations: 0.9054 MB / 0.5674 GB, free: 7.914 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0002736/0.4328, allocations: 103.2 kB / 0.5675 GB, free: 7.812 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.858e-05/0.4329, allocations: 35.36 kB / 0.5676 GB, free: 7.777 MB / 414.1 MB
Notification: Performance of SimCode: time 5.81e-07/0.4329, allocations: 0 / 0.5676 GB, free: 7.777 MB / 414.1 MB
Notification: Performance of Templates: time 0.01316/0.4461, allocations: 6.565 MB / 0.574 GB, free: 1.242 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.302150106988847]
Failed to read output from testmodel.py, exit status != 0:
0.45439714565873146 0.468658096 0.072733693
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7ffbb18217b0>