Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.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.00136/0.00136, allocations: 112 kB / 20.43 MB, free: 1.457 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.001397/0.001397, allocations: 180.8 kB / 23.71 MB, free: 4.695 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.483/1.483, allocations: 225.6 MB / 252.5 MB, free: 12.98 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.1874/0.1874, allocations: 38.53 MB / 346.3 MB, free: 2.062 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.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG")
translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 67.89 kB / 484.5 MB, free: 11.13 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3952, allocations: 61.29 MB / 0.533 GB, free: 5.562 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.009376/0.4046, allocations: 8.302 MB / 0.5411 GB, free: 15.36 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01174/0.4163, allocations: 5.536 MB / 0.5465 GB, free: 10.96 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0009147/0.4172, allocations: 41.56 kB / 0.5466 GB, free: 10.93 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0145/0.4317, allocations: 5.874 MB / 0.5523 GB, free: 7.566 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003064/0.4348, allocations: 0.855 MB / 0.5531 GB, free: 6.895 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.4365, allocations: 0.4971 MB / 0.5536 GB, free: 6.52 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.005146/0.4416, allocations: 2.622 MB / 0.5562 GB, free: 4.348 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000874/0.4425, allocations: 465.6 kB / 0.5566 GB, free: 3.879 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.4439, allocations: 0.794 MB / 0.5574 GB, free: 3.082 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001683/0.4456, allocations: 1.125 MB / 0.5585 GB, free: 1.953 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.000215/0.4458, allocations: 104 kB / 0.5586 GB, free: 1.852 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0009391/0.4468, allocations: 395.5 kB / 0.559 GB, free: 1.465 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0007053/0.4475, allocations: 0.674 MB / 0.5596 GB, free: 0.7891 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0008018/0.4483, allocations: 0.6881 MB / 0.5603 GB, free: 100 kB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00235/0.4506, allocations: 1.728 MB / 0.562 GB, free: 14.36 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4506, allocations: 4 kB / 0.562 GB, free: 14.36 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.543e-06/0.4506, allocations: 0 / 0.562 GB, free: 14.36 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 2.161e-05/0.4506, allocations: 0 / 0.562 GB, free: 14.36 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: 281
 * Number of variables: 281
Notification: Performance of Generate backend data structure: time 0.003451/0.4541, allocations: 1.555 MB / 0.5635 GB, free: 12.77 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.4541, allocations: 8.031 kB / 0.5635 GB, free: 12.76 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.4554, allocations: 219.9 kB / 0.5637 GB, free: 12.54 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/0.4577, allocations: 0.8814 MB / 0.5646 GB, free: 11.63 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.622e-05/0.4577, allocations: 69.98 kB / 0.5647 GB, free: 11.56 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000479/0.4582, allocations: 187.9 kB / 0.5648 GB, free: 11.38 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002692/0.4609, allocations: 1.56 MB / 0.5664 GB, free: 9.734 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.22e-05/0.461, allocations: 11.89 kB / 0.5664 GB, free: 9.723 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.4611, allocations: 43.92 kB / 0.5664 GB, free: 9.68 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006588/0.4617, allocations: 149.9 kB / 0.5666 GB, free: 9.531 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/0.4641, allocations: 1.245 MB / 0.5678 GB, free: 8.277 MB / 414.1 MB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009602/0.4737, allocations: 6.361 MB / 0.574 GB, free: 1.559 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.00172/0.4754, allocations: 0.8735 MB / 0.5748 GB, free: 0.6602 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008417/0.4762, allocations: 496.5 kB / 0.5753 GB, free: 176 kB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 6.068e-05/0.4763, allocations: 9 kB / 0.5753 GB, free: 168 kB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.4763, allocations: 47.55 kB / 0.5754 GB, free: 112 kB / 414.1 MB
Notification: Performance of pre-optimization done (n=91): time 2.695e-06/0.4763, allocations: 0 / 0.5754 GB, free: 112 kB / 414.1 MB
Notification: Performance of matching and sorting (n=96): time 0.007074/0.4834, allocations: 3.257 MB / 0.5786 GB, free: 12.82 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.396e-05/0.4835, allocations: 90.05 kB / 0.5786 GB, free: 12.71 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.4845, allocations: 0.7235 MB / 0.5794 GB, free: 11.98 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 8.974e-05/0.4846, allocations: 49.69 kB / 0.5794 GB, free: 11.93 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000526/0.4851, allocations: 0.5744 MB / 0.58 GB, free: 11.35 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.000381/0.4855, allocations: 376.8 kB / 0.5803 GB, free: 10.98 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003899/0.4859, allocations: 238.8 kB / 0.5805 GB, free: 10.74 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002629/0.4861, allocations: 414.7 kB / 0.5809 GB, free: 10.32 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.4872, allocations: 0.5608 MB / 0.5815 GB, free: 9.762 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/0.4885, allocations: 0.8892 MB / 0.5824 GB, free: 8.742 MB / 430.1 MB
Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet.
Notification: Performance of analyzeInitialSystem (initialization): time 0.009311/0.4978, allocations: 3.232 MB / 0.5855 GB, free: 5.387 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/0.4978, allocations: 4 kB / 0.5855 GB, free: 5.383 MB / 430.1 MB
Notification: Performance of matching and sorting (n=164) (initialization): time 0.006485/0.5043, allocations: 2.687 MB / 0.5881 GB, free: 2.68 MB / 430.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.325e-05/0.5043, allocations: 15.94 kB / 0.5882 GB, free: 2.664 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/0.5043, allocations: 8 kB / 0.5882 GB, free: 2.656 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.003276/0.5076, allocations: 1.163 MB / 0.5893 GB, free: 1.488 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009209/0.5085, allocations: 191.7 kB / 0.5895 GB, free: 1.301 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02058/0.5291, allocations: 12.1 MB / 0.6013 GB, free: 4.957 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.5302, allocations: 63.95 kB / 0.6014 GB, free: 4.895 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002175/0.5304, allocations: 55.98 kB / 0.6014 GB, free: 4.84 MB / 446.1 MB
Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system:
         $DER.inertia.w = 0.0
         infBus.V = 15000.0 * infBus.v0
         line.omega[1] = 0.0.
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 43
 * 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 (96):
 * Single equations (assignments): 94
 * 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,17,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(24,28)}
Notification: Performance of prepare postOptimizeDAE: time 0.0009082/0.5313, allocations: 389.4 kB / 0.6018 GB, free: 4.449 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/0.5316, allocations: 103.3 kB / 0.6019 GB, free: 4.348 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002695/0.5343, allocations: 1.261 MB / 0.6031 GB, free: 3.066 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.5343, allocations: 8 kB / 0.6031 GB, free: 3.059 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5343, allocations: 0 / 0.6031 GB, free: 3.059 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.5343, allocations: 7.984 kB / 0.6031 GB, free: 3.051 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005314/0.5396, allocations: 2.486 MB / 0.6056 GB, free: 0.4922 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.5396, allocations: 11.97 kB / 0.6056 GB, free: 492 kB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001584/0.5412, allocations: 275.7 kB / 0.6058 GB, free: 216 kB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001805/0.5414, allocations: 49.67 kB / 0.6059 GB, free: 160 kB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.5415, allocations: 39.98 kB / 0.6059 GB, free: 120 kB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002406/0.5439, allocations: 2.629 MB / 0.6085 GB, free: 13.25 MB / 462.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.5439, allocations: 4 kB / 0.6085 GB, free: 13.25 MB / 462.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003145/0.5471, allocations: 1.754 MB / 0.6102 GB, free: 11.45 MB / 462.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005914/0.5477, allocations: 179.3 kB / 0.6104 GB, free: 11.27 MB / 462.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/0.5479, allocations: 43.94 kB / 0.6104 GB, free: 11.23 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006266/0.5485, allocations: 39.95 kB / 0.6104 GB, free: 11.19 MB / 462.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/0.5487, allocations: 68.81 kB / 0.6105 GB, free: 11.12 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.677e-05/0.5488, allocations: 31.98 kB / 0.6105 GB, free: 11.09 MB / 462.1 MB
Notification: Performance of sorting global known variables: time 0.0007225/0.5495, allocations: 0.4912 MB / 0.611 GB, free: 10.61 MB / 462.1 MB
Notification: Performance of sort global known variables: time 1.2e-07/0.5495, allocations: 3.938 kB / 0.611 GB, free: 10.6 MB / 462.1 MB
Notification: Performance of remove unused functions: time 0.001484/0.551, allocations: 376 kB / 0.6114 GB, free: 10.23 MB / 462.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 9
 * Number of states: 25 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[2,1],line.i[2,2],line.i[2,3],line.i[3,1],line.i[3,2],line.i[3,3],inertia.phi,inertia.w)
 * 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 (95):
 * Single equations (assignments): 92
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * 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,1,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002176/0.5512, allocations: 146 kB / 0.6115 GB, free: 10.08 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.004257/0.5554, allocations: 2.038 MB / 0.6135 GB, free: 8.02 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.5555, allocations: 4 kB / 0.6135 GB, free: 8.016 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001333/0.5568, allocations: 0.7292 MB / 0.6142 GB, free: 7.258 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.5581, allocations: 228.3 kB / 0.6145 GB, free: 7.047 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00786/0.566, allocations: 4.098 MB / 0.6185 GB, free: 2.883 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001458/0.5675, allocations: 1.31 MB / 0.6197 GB, free: 1.543 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 0.00108/0.5685, allocations: 316 kB / 0.62 GB, free: 1.23 MB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003603/0.5689, allocations: 67.44 kB / 0.6201 GB, free: 1.168 MB / 462.1 MB
Notification: Performance of SimCode: time 1.463e-06/0.5689, allocations: 0 / 0.6201 GB, free: 1.168 MB / 462.1 MB
Notification: Performance of Templates: time 0.04092/0.6098, allocations: 20.72 MB / 0.6403 GB, free: 12.55 MB / 494.1 MB
"
[Timeout remaining time 659]
make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 480]
[Calling os._exit(0), Time elapsed: 5.935200133360922]
Failed to read output from testmodel.py, exit status != 0:
0.6192657789215446 0.63856911 0.18457062400000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f0a063c97b0>