Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.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.001407/0.001407, 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.001558/0.001558, allocations: 190 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.58/1.58, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.1903/0.1903, allocations: 38.52 MB / 346.3 MB, free: 2.082 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.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier")
translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 67.88 kB / 484.5 MB, free: 11.13 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4395, allocations: 61.28 MB / 0.533 GB, free: 5.586 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.008058/0.4475, allocations: 6.966 MB / 0.5398 GB, free: 460 kB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004947/0.4525, allocations: 2.173 MB / 0.5419 GB, free: 14.71 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0009675/0.4534, allocations: 34.75 kB / 0.542 GB, free: 14.69 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002066/0.4555, allocations: 0.5357 MB / 0.5425 GB, free: 14.27 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002027/0.4575, allocations: 0.554 MB / 0.543 GB, free: 13.84 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.4589, allocations: 369.3 kB / 0.5434 GB, free: 13.56 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002519/0.4614, allocations: 1.306 MB / 0.5447 GB, free: 12.82 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.4628, allocations: 0.4997 MB / 0.5452 GB, free: 12.48 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.00206/0.4648, allocations: 0.5595 MB / 0.5457 GB, free: 12.16 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002068/0.4669, allocations: 0.7314 MB / 0.5464 GB, free: 11.72 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0004124/0.4673, allocations: 99.41 kB / 0.5465 GB, free: 11.72 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001712/0.469, allocations: 0.5529 MB / 0.5471 GB, free: 11.47 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0006973/0.4697, allocations: 468.9 kB / 0.5475 GB, free: 11.17 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001018/0.4707, allocations: 0.5196 MB / 0.548 GB, free: 10.82 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002953/0.4737, allocations: 1.464 MB / 0.5494 GB, free: 9.82 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4737, allocations: 0 / 0.5494 GB, free: 9.82 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.543e-06/0.4737, allocations: 1.5 kB / 0.5494 GB, free: 9.82 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 3.627e-05/0.4737, allocations: 0 / 0.5494 GB, free: 9.82 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: 223
 * Number of variables: 223
Notification: Performance of Generate backend data structure: time 0.00377/0.4775, allocations: 1.296 MB / 0.5507 GB, free: 8.914 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/0.4775, allocations: 12.88 kB / 0.5507 GB, free: 8.91 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.4786, allocations: 155 kB / 0.5509 GB, free: 8.832 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.4801, allocations: 0.6255 MB / 0.5515 GB, free: 8.387 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002712/0.4804, allocations: 168.7 kB / 0.5516 GB, free: 8.254 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002435/0.4806, allocations: 98.34 kB / 0.5517 GB, free: 8.215 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002632/0.4833, allocations: 1.361 MB / 0.5531 GB, free: 7.355 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.4833, allocations: 1.25 kB / 0.5531 GB, free: 7.355 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.4834, allocations: 33.03 kB / 0.5531 GB, free: 7.332 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000165/0.4836, allocations: 61.34 kB / 0.5532 GB, free: 7.316 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/0.4861, allocations: 1.295 MB / 0.5544 GB, free: 6.062 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008046/0.4942, allocations: 4.848 MB / 0.5592 GB, free: 1.055 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002317/0.4965, allocations: 1.008 MB / 0.5601 GB, free: 32 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/0.4978, allocations: 0.5814 MB / 0.5607 GB, free: 15.45 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 6.285e-05/0.4978, allocations: 12.64 kB / 0.5607 GB, free: 15.43 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.4979, allocations: 43.22 kB / 0.5608 GB, free: 15.38 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=72): time 2.665e-06/0.4979, allocations: 0 / 0.5608 GB, free: 15.38 MB / 414.1 MB
Notification: Performance of matching and sorting (n=73): time 0.006462/0.5043, allocations: 2.972 MB / 0.5637 GB, free: 12.37 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.5044, allocations: 93.78 kB / 0.5637 GB, free: 12.26 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005998/0.505, allocations: 465.9 kB / 0.5642 GB, free: 11.79 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.381e-05/0.5051, allocations: 33.7 kB / 0.5642 GB, free: 11.75 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003176/0.5054, allocations: 408.3 kB / 0.5646 GB, free: 11.35 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002754/0.5056, allocations: 269.7 kB / 0.5649 GB, free: 11.08 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002738/0.5059, allocations: 146.6 kB / 0.565 GB, free: 10.93 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002031/0.5061, allocations: 378.8 kB / 0.5654 GB, free: 10.55 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.5071, allocations: 0.4899 MB / 0.5659 GB, free: 10.07 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.5083, allocations: 0.6872 MB / 0.5665 GB, free: 9.305 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00216/0.5104, allocations: 1.213 MB / 0.5677 GB, free: 8.016 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.5104, allocations: 7.938 kB / 0.5677 GB, free: 8.008 MB / 414.1 MB
Notification: Performance of matching and sorting (n=105) (initialization): time 0.004765/0.5152, allocations: 1.892 MB / 0.5696 GB, free: 6.102 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.5152, allocations: 12.06 kB / 0.5696 GB, free: 6.09 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004241/0.5195, allocations: 1.634 MB / 0.5712 GB, free: 4.445 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001978/0.5214, allocations: 0.6495 MB / 0.5718 GB, free: 3.789 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007043/0.5222, allocations: 151.8 kB / 0.5719 GB, free: 3.641 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01327/0.5354, allocations: 7.23 MB / 0.579 GB, free: 12.2 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.5365, allocations: 71.91 kB / 0.5791 GB, free: 12.13 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.411e-05/0.5366, allocations: 36 kB / 0.5791 GB, free: 12.09 MB / 430.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 25
 * 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 (76):
 * Single equations (assignments): 73
 * Array equations: 1
 * 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): 1 system
   {(1,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(4,16)}
Notification: Performance of prepare postOptimizeDAE: time 0.0007253/0.5373, allocations: 305.5 kB / 0.5794 GB, free: 11.79 MB / 430.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/0.5375, allocations: 63.69 kB / 0.5795 GB, free: 11.72 MB / 430.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002827/0.5404, allocations: 1.222 MB / 0.5807 GB, free: 10.49 MB / 430.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-05/0.5404, allocations: 15.98 kB / 0.5807 GB, free: 10.47 MB / 430.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5404, allocations: 0 / 0.5807 GB, free: 10.47 MB / 430.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.5404, allocations: 4 kB / 0.5807 GB, free: 10.47 MB / 430.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004533/0.5449, allocations: 2.294 MB / 0.5829 GB, free: 8.113 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.5449, allocations: 11.97 kB / 0.5829 GB, free: 8.102 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002815/0.5478, allocations: 495.4 kB / 0.5834 GB, free: 7.617 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001347/0.5479, allocations: 44.75 kB / 0.5834 GB, free: 7.57 MB / 430.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.992e-05/0.548, allocations: 16 kB / 0.5835 GB, free: 7.555 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/0.5494, allocations: 1.523 MB / 0.5849 GB, free: 5.918 MB / 430.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.5494, allocations: 3.938 kB / 0.5849 GB, free: 5.914 MB / 430.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003639/0.5531, allocations: 1.939 MB / 0.5868 GB, free: 3.945 MB / 430.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.5533, allocations: 63.52 kB / 0.5869 GB, free: 3.883 MB / 430.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.5534, allocations: 19.98 kB / 0.5869 GB, free: 3.863 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005499/0.554, allocations: 55.92 kB / 0.587 GB, free: 3.809 MB / 430.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.5541, allocations: 64.53 kB / 0.587 GB, free: 3.746 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.459e-05/0.5542, allocations: 23.94 kB / 0.5871 GB, free: 3.723 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 0.0004242/0.5546, allocations: 326.8 kB / 0.5874 GB, free: 3.406 MB / 430.1 MB
Notification: Performance of sort global known variables: time 1.11e-07/0.5546, allocations: 4 kB / 0.5874 GB, free: 3.402 MB / 430.1 MB
Notification: Performance of remove unused functions: time 0.001114/0.5557, allocations: 228 kB / 0.5876 GB, free: 3.18 MB / 430.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 5
 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav)
 * 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 (67):
 * Single equations (assignments): 64
 * Array equations: 1
 * 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,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003372/0.5561, allocations: 135.1 kB / 0.5877 GB, free: 3.035 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.003405/0.5595, allocations: 1.509 MB / 0.5892 GB, free: 1.5 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.5595, allocations: 0 / 0.5892 GB, free: 1.5 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002995/0.5625, allocations: 0.9709 MB / 0.5901 GB, free: 0.5156 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.5635, allocations: 164.1 kB / 0.5903 GB, free: 368 kB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004941/0.5685, allocations: 2.292 MB / 0.5925 GB, free: 14.03 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009954/0.5695, allocations: 1.079 MB / 0.5936 GB, free: 12.92 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.0007872/0.5703, allocations: 213.5 kB / 0.5938 GB, free: 12.71 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/0.5705, allocations: 51.44 kB / 0.5938 GB, free: 12.66 MB / 446.1 MB
Notification: Performance of SimCode: time 1.432e-06/0.5705, allocations: 0 / 0.5938 GB, free: 12.66 MB / 446.1 MB
Notification: Performance of Templates: time 0.02662/0.5972, allocations: 14.44 MB / 0.608 GB, free: 14.29 MB / 462.1 MB
"
[Timeout remaining time 659]
make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.16991008259356]
Failed to read output from testmodel.py, exit status != 0:
0.6067566433921456 0.623506304 0.14617336999999994
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fe4c3f517b0>