Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.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.001393/0.001393, allocations: 112 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.001627/0.001627, 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.438/1.438, 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.1842/0.1842, allocations: 38.52 MB / 346.3 MB, free: 2.105 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.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine")
translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 63.89 kB / 484.5 MB, free: 11.16 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4047, allocations: 61.29 MB / 0.533 GB, free: 5.562 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.009223/0.4139, allocations: 7.827 MB / 0.5407 GB, free: 15.79 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01059/0.4245, allocations: 5.441 MB / 0.546 GB, free: 11.48 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000916/0.4254, allocations: 33.62 kB / 0.546 GB, free: 11.46 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.01335/0.4388, allocations: 5.821 MB / 0.5517 GB, free: 8.141 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002305/0.4411, allocations: 0.6384 MB / 0.5523 GB, free: 7.637 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.4425, allocations: 463.7 kB / 0.5528 GB, free: 7.27 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.004095/0.4466, allocations: 2.289 MB / 0.555 GB, free: 5.613 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.4479, allocations: 0.8859 MB / 0.5559 GB, free: 4.699 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.449, allocations: 0.6539 MB / 0.5565 GB, free: 4.043 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.45, allocations: 0.7942 MB / 0.5573 GB, free: 3.246 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001673/0.4502, allocations: 116 kB / 0.5574 GB, free: 3.133 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.000832/0.451, allocations: 419.5 kB / 0.5578 GB, free: 2.723 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000489/0.4515, allocations: 0.4987 MB / 0.5583 GB, free: 2.223 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0006141/0.4521, allocations: 0.595 MB / 0.5589 GB, free: 1.625 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00197/0.4541, allocations: 1.724 MB / 0.5606 GB, free: 15.89 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4541, allocations: 0 / 0.5606 GB, free: 15.89 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.412e-06/0.4541, allocations: 0 / 0.5606 GB, free: 15.89 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 1.685e-05/0.4541, allocations: 7.938 kB / 0.5606 GB, free: 15.89 MB / 414.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 208
 * Number of variables: 208
Notification: Performance of Generate backend data structure: time 0.002838/0.457, allocations: 1.371 MB / 0.5619 GB, free: 14.48 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.457, allocations: 12.03 kB / 0.5619 GB, free: 14.47 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007233/0.4577, allocations: 156.1 kB / 0.5621 GB, free: 14.32 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/0.4596, allocations: 0.8925 MB / 0.5629 GB, free: 13.39 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.367e-05/0.4597, allocations: 61.98 kB / 0.563 GB, free: 13.34 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/0.4599, allocations: 99.92 kB / 0.5631 GB, free: 13.24 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.4616, allocations: 1.059 MB / 0.5641 GB, free: 12.14 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.4617, allocations: 8 kB / 0.5641 GB, free: 12.13 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.935e-05/0.4617, allocations: 43.91 kB / 0.5642 GB, free: 12.09 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002308/0.462, allocations: 69.95 kB / 0.5642 GB, free: 12.02 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.4634, allocations: 0.8353 MB / 0.5651 GB, free: 11.18 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005945/0.4694, allocations: 3.895 MB / 0.5689 GB, free: 7.113 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.4704, allocations: 0.5148 MB / 0.5694 GB, free: 6.582 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004754/0.4709, allocations: 302.3 kB / 0.5696 GB, free: 6.285 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.356e-05/0.4709, allocations: 4.5 kB / 0.5697 GB, free: 6.281 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.4709, allocations: 39.06 kB / 0.5697 GB, free: 6.234 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=57): time 2.124e-06/0.4709, allocations: 0 / 0.5697 GB, free: 6.234 MB / 414.1 MB
Notification: Performance of matching and sorting (n=65): time 0.004923/0.4759, allocations: 2.371 MB / 0.572 GB, free: 3.824 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.187e-05/0.476, allocations: 107.5 kB / 0.5721 GB, free: 3.695 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000927/0.4769, allocations: 0.7076 MB / 0.5728 GB, free: 2.977 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.639e-05/0.4769, allocations: 37.7 kB / 0.5728 GB, free: 2.934 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003941/0.4773, allocations: 496.1 kB / 0.5733 GB, free: 2.441 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002779/0.4776, allocations: 249.9 kB / 0.5735 GB, free: 2.195 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/0.4778, allocations: 146.6 kB / 0.5737 GB, free: 2.047 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002021/0.478, allocations: 390.8 kB / 0.5741 GB, free: 1.656 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005309/0.4786, allocations: 305.8 kB / 0.5743 GB, free: 1.355 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006855/0.4793, allocations: 0.5189 MB / 0.5749 GB, free: 0.75 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003959/0.4832, allocations: 1.601 MB / 0.5764 GB, free: 15.06 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.4832, allocations: 0 / 0.5764 GB, free: 15.06 MB / 430.1 MB
Notification: Performance of matching and sorting (n=103) (initialization): time 0.002496/0.4857, allocations: 1.259 MB / 0.5776 GB, free: 13.79 MB / 430.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.4857, allocations: 11.94 kB / 0.5777 GB, free: 13.78 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.4858, allocations: 4 kB / 0.5777 GB, free: 13.77 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/0.4869, allocations: 406.2 kB / 0.5781 GB, free: 13.37 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005368/0.4875, allocations: 147.7 kB / 0.5782 GB, free: 13.23 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008663/0.4961, allocations: 6.035 MB / 0.5841 GB, free: 6.945 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006816/0.4968, allocations: 35.88 kB / 0.5841 GB, free: 6.91 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.4969, allocations: 40 kB / 0.5842 GB, free: 6.871 MB / 430.1 MB
Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system:
         $DER.windGen.WT.turbine.w = 0.0.
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 28
 * 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 (75):
 * Single equations (assignments): 73
 * 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): 1 system
   {(1,4,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(4,21)}
Notification: Performance of prepare postOptimizeDAE: time 0.0007487/0.4977, allocations: 353.6 kB / 0.5845 GB, free: 6.516 MB / 430.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002417/0.4979, allocations: 83.48 kB / 0.5846 GB, free: 6.434 MB / 430.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/0.4998, allocations: 0.9095 MB / 0.5855 GB, free: 5.496 MB / 430.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.4998, allocations: 4 kB / 0.5855 GB, free: 5.492 MB / 430.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.4998, allocations: 4 kB / 0.5855 GB, free: 5.488 MB / 430.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.4998, allocations: 3.984 kB / 0.5855 GB, free: 5.484 MB / 430.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003855/0.5037, allocations: 1.972 MB / 0.5874 GB, free: 3.414 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.5037, allocations: 0 / 0.5874 GB, free: 3.414 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006418/0.5043, allocations: 115.9 kB / 0.5875 GB, free: 3.301 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0005943/0.5049, allocations: 190.6 kB / 0.5877 GB, free: 3.105 MB / 430.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.491e-05/0.505, allocations: 27.92 kB / 0.5877 GB, free: 3.078 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005064/0.5101, allocations: 5.166 MB / 0.5928 GB, free: 13.56 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5101, allocations: 4.031 kB / 0.5928 GB, free: 13.56 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002197/0.5123, allocations: 1.27 MB / 0.594 GB, free: 12.25 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.000419/0.5127, allocations: 139.3 kB / 0.5941 GB, free: 12.11 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.5128, allocations: 20 kB / 0.5942 GB, free: 12.09 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/0.5132, allocations: 19.98 kB / 0.5942 GB, free: 12.07 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.5133, allocations: 48.44 kB / 0.5942 GB, free: 12.02 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.148e-05/0.5134, allocations: 23.98 kB / 0.5942 GB, free: 12 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.0007808/0.5142, allocations: 499 kB / 0.5947 GB, free: 11.52 MB / 446.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.5142, allocations: 0 / 0.5947 GB, free: 11.52 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.001167/0.5153, allocations: 255.9 kB / 0.595 GB, free: 11.27 MB / 446.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 7
 * Number of states: 11 (windGen.generator.i[3],windGen.generator.psi_rd[1],windGen.generator.psi_rq[1],windGen.WT.genRotor.phi,windGen.WT.genRotor.w,windGen.WT.turbine.phi,windGen.WT.turbine.w,windGen.WT.gear.phi,windGen.WT.gear.w,line.i[1],line.i[2])
 * 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 (54):
 * Single equations (assignments): 50
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 3
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 3 systems
   {(1,5,100.0%), (1,5,100.0%), (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.001462/0.5168, allocations: 420 kB / 0.5954 GB, free: 11 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.002216/0.519, allocations: 1.099 MB / 0.5964 GB, free: 9.871 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.519, allocations: 0 / 0.5964 GB, free: 9.871 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001067/0.5201, allocations: 0.7017 MB / 0.5971 GB, free: 9.133 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.5212, allocations: 198.9 kB / 0.5973 GB, free: 8.953 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005701/0.5269, allocations: 2.523 MB / 0.5998 GB, free: 6.383 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/0.5281, allocations: 1.15 MB / 0.6009 GB, free: 5.203 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.00054/0.5286, allocations: 158.6 kB / 0.6011 GB, free: 5.043 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.5288, allocations: 63.41 kB / 0.6011 GB, free: 4.98 MB / 446.1 MB
Notification: Performance of SimCode: time 7.92e-07/0.5288, allocations: 0 / 0.6011 GB, free: 4.98 MB / 446.1 MB
Notification: Performance of Templates: time 0.02895/0.5578, allocations: 13.4 MB / 0.6142 GB, free: 7.664 MB / 462.1 MB
"
[Timeout remaining time 659]
make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.57821736484766]
Failed to read output from testmodel.py, exit status != 0:
0.5673801889643073 0.5849234520000001 0.12732721900000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fac697697b0>