Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.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.002073/0.002073, allocations: 109.5 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.002411/0.002411, allocations: 183.7 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.48/1.48, 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-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1807/0.1807, allocations: 38.54 MB / 346.3 MB, free: 2.129 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-master/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_PSGI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI")
translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 67.89 kB / 484.5 MB, free: 11.16 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3331, allocations: 61.3 MB / 0.533 GB, free: 5.566 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01207/0.3452, allocations: 11.27 MB / 0.544 GB, free: 13.02 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01188/0.3571, allocations: 7.143 MB / 0.551 GB, free: 7.293 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.3582, allocations: 68.5 kB / 0.5511 GB, free: 7.258 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.02608/0.3843, allocations: 14.42 MB / 0.5652 GB, free: 11.18 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003649/0.3879, allocations: 1.143 MB / 0.5663 GB, free: 10.04 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002314/0.3903, allocations: 0.7018 MB / 0.567 GB, free: 9.332 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.008781/0.399, allocations: 4.196 MB / 0.5711 GB, free: 5.125 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001994/0.401, allocations: 0.7119 MB / 0.5718 GB, free: 4.391 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002866/0.4039, allocations: 1.156 MB / 0.5729 GB, free: 3.23 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.00317/0.4071, allocations: 1.561 MB / 0.5744 GB, free: 1.664 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0003635/0.4074, allocations: 148 kB / 0.5746 GB, free: 1.52 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.409, allocations: 0.5812 MB / 0.5751 GB, free: 0.9375 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001052/0.4101, allocations: 0.9232 MB / 0.576 GB, free: 12 kB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001351/0.4114, allocations: 0.9836 MB / 0.577 GB, free: 15.02 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.003778/0.4152, allocations: 2.572 MB / 0.5795 GB, free: 12.44 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.4152, allocations: 0 / 0.5795 GB, free: 12.44 MB / 430.1 MB
Notification: Performance of FrontEnd: time 1.663e-06/0.4152, allocations: 0 / 0.5795 GB, free: 12.44 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 2.871e-05/0.4152, allocations: 0 / 0.5795 GB, free: 12.44 MB / 430.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 409
 * Number of variables: 409
Notification: Performance of Generate backend data structure: time 0.005167/0.4204, allocations: 2.205 MB / 0.5816 GB, free: 10.19 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.4204, allocations: 8.031 kB / 0.5817 GB, free: 10.18 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001893/0.4223, allocations: 343.4 kB / 0.582 GB, free: 9.844 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002939/0.4253, allocations: 1.244 MB / 0.5832 GB, free: 8.559 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.4254, allocations: 102.7 kB / 0.5833 GB, free: 8.457 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005852/0.426, allocations: 231.9 kB / 0.5835 GB, free: 8.23 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.003895/0.4299, allocations: 2.192 MB / 0.5857 GB, free: 5.934 MB / 430.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.684e-05/0.4299, allocations: 15.88 kB / 0.5857 GB, free: 5.918 MB / 430.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001609/0.4301, allocations: 59.98 kB / 0.5857 GB, free: 5.859 MB / 430.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006954/0.4308, allocations: 186.8 kB / 0.5859 GB, free: 5.676 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003338/0.4341, allocations: 1.827 MB / 0.5877 GB, free: 3.844 MB / 430.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.01413/0.4482, allocations: 8.418 MB / 0.5959 GB, free: 11.02 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002689/0.4509, allocations: 1.388 MB / 0.5973 GB, free: 9.613 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/0.4524, allocations: 0.7512 MB / 0.598 GB, free: 8.855 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 8.304e-05/0.4525, allocations: 25.38 kB / 0.598 GB, free: 8.828 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.4525, allocations: 47.86 kB / 0.5981 GB, free: 8.773 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=130): time 3.897e-06/0.4525, allocations: 0 / 0.5981 GB, free: 8.773 MB / 446.1 MB
Notification: Performance of matching and sorting (n=165): time 0.02627/0.4788, allocations: 8.499 MB / 0.6064 GB, free: 244 kB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.897e-05/0.4789, allocations: 94.42 kB / 0.6065 GB, free: 128 kB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001844/0.4807, allocations: 1.075 MB / 0.6075 GB, free: 15.03 MB / 462.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.000209/0.4809, allocations: 53.73 kB / 0.6076 GB, free: 14.97 MB / 462.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0008516/0.4818, allocations: 0.8053 MB / 0.6083 GB, free: 14.16 MB / 462.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0008373/0.4826, allocations: 0.6198 MB / 0.609 GB, free: 13.54 MB / 462.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006149/0.4832, allocations: 355.4 kB / 0.6093 GB, free: 13.18 MB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001399/0.4834, allocations: 301.1 kB / 0.6096 GB, free: 12.89 MB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/0.485, allocations: 0.8472 MB / 0.6104 GB, free: 12.04 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001986/0.487, allocations: 1.344 MB / 0.6117 GB, free: 10.48 MB / 462.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.01477/0.5017, allocations: 5.183 MB / 0.6168 GB, free: 5.133 MB / 462.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-05/0.5018, allocations: 4 kB / 0.6168 GB, free: 5.129 MB / 462.1 MB
Notification: Performance of matching and sorting (n=255) (initialization): time 0.01104/0.5128, allocations: 3.999 MB / 0.6207 GB, free: 1.098 MB / 462.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/0.5128, allocations: 12 kB / 0.6207 GB, free: 1.086 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.981e-05/0.5129, allocations: 16 kB / 0.6207 GB, free: 1.07 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.005346/0.5182, allocations: 1.61 MB / 0.6223 GB, free: 15.44 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.5197, allocations: 315.5 kB / 0.6226 GB, free: 15.13 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03357/0.5533, allocations: 20.28 MB / 0.6424 GB, free: 10.14 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002197/0.5555, allocations: 87.94 kB / 0.6425 GB, free: 10.05 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006668/0.5562, allocations: 91.92 kB / 0.6426 GB, free: 9.965 MB / 494.1 MB
Warning: The initial conditions are over specified. The following 6 initial equations are redundant, so they are removed from the initialization system:
         inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0
         $DER.PI.x = 0.0
         $DER.generator.psi_s[2] = 0.0
         $DER.generator.psi_s[1] = 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: 66
 * 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 (152):
 * Single equations (assignments): 146
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 6
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 4 systems
   {(1,3,100.0%), (1,8,100.0%), (1,1,100.0%), (3,24,77.8%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 2 systems
   {(4,22), (21,20)}
Notification: Performance of prepare postOptimizeDAE: time 0.002309/0.5585, allocations: 0.5522 MB / 0.6431 GB, free: 9.402 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006429/0.5591, allocations: 159.1 kB / 0.6433 GB, free: 9.246 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006433/0.5656, allocations: 2.496 MB / 0.6457 GB, free: 6.719 MB / 494.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.352e-05/0.5656, allocations: 16 kB / 0.6457 GB, free: 6.703 MB / 494.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.076e-05/0.5656, allocations: 8 kB / 0.6457 GB, free: 6.695 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-05/0.5656, allocations: 11.95 kB / 0.6457 GB, free: 6.684 MB / 494.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/0.5766, allocations: 4.468 MB / 0.6501 GB, free: 2.102 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/0.5766, allocations: 4 kB / 0.6501 GB, free: 2.098 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001817/0.5784, allocations: 344.1 kB / 0.6504 GB, free: 1.762 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001703/0.5801, allocations: 0.4935 MB / 0.6509 GB, free: 1.246 MB / 494.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002071/0.5803, allocations: 51.97 kB / 0.651 GB, free: 1.195 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01376/0.5941, allocations: 12.03 MB / 0.6627 GB, free: 4.352 MB / 0.4981 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.5941, allocations: 0 / 0.6627 GB, free: 4.352 MB / 0.4981 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00753/0.6016, allocations: 3.416 MB / 0.666 GB, free: 0.8711 MB / 0.4981 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.6027, allocations: 302.7 kB / 0.6663 GB, free: 0.5742 MB / 0.4981 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004518/0.6031, allocations: 51.92 kB / 0.6664 GB, free: 0.5234 MB / 0.4981 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.6043, allocations: 75.92 kB / 0.6665 GB, free: 460 kB / 0.4981 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004032/0.6047, allocations: 133 kB / 0.6666 GB, free: 324 kB / 0.4981 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/0.6048, allocations: 47.98 kB / 0.6666 GB, free: 276 kB / 0.4981 GB
Notification: Performance of sorting global known variables: time 0.001379/0.6062, allocations: 0.714 MB / 0.6673 GB, free: 15.55 MB / 0.5137 GB
Notification: Performance of sort global known variables: time 1e-07/0.6062, allocations: 0 / 0.6673 GB, free: 15.55 MB / 0.5137 GB
Notification: Performance of remove unused functions: time 0.0026/0.6088, allocations: 0.5936 MB / 0.6679 GB, free: 14.95 MB / 0.5137 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 12
 * Number of states: 24 (inertia.w,meterDC.pav,generator.phi_el,generator.i_s[3],generator.psi_s[1],generator.psi_s[2],inverter2.vDC1,line.v[1,2],line.v[1,3],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],PI.x)
 * 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 (138):
 * Single equations (assignments): 130
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 7
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 6 systems
   {(1,2,100.0%), (2,6,100.0%), (1,1,100.0%), (1,8,100.0%), (1,1,100.0%), (1,3,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(2,8)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0004794/0.6093, allocations: 182.9 kB / 0.6681 GB, free: 14.77 MB / 0.5137 GB
Notification: Performance of simCode: created initialization part: time 0.007164/0.6164, allocations: 3.378 MB / 0.6714 GB, free: 11.31 MB / 0.5137 GB
Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.6164, allocations: 0 / 0.6714 GB, free: 11.31 MB / 0.5137 GB
Notification: Performance of simCode: created simulation system equations: time 0.003596/0.62, allocations: 1.838 MB / 0.6732 GB, free: 9.383 MB / 0.5137 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/0.6222, allocations: 342.1 kB / 0.6735 GB, free: 9.055 MB / 0.5137 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00992/0.6321, allocations: 5.379 MB / 0.6787 GB, free: 3.609 MB / 0.5137 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002325/0.6345, allocations: 1.637 MB / 0.6803 GB, free: 1.941 MB / 0.5137 GB
Notification: Performance of simCode: alias equations: time 0.001593/0.636, allocations: 441.3 kB / 0.6808 GB, free: 1.504 MB / 0.5137 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005251/0.6366, allocations: 119.3 kB / 0.6809 GB, free: 1.391 MB / 0.5137 GB
Notification: Performance of SimCode: time 1.022e-06/0.6366, allocations: 0 / 0.6809 GB, free: 1.391 MB / 0.5137 GB
Notification: Performance of Templates: time 0.06706/0.7036, allocations: 34.48 MB / 0.7145 GB, free: 15.11 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile [Timeout 660]
(rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 480]
[Calling os._exit(0), Time elapsed: 6.438035087659955]
Failed to read output from testmodel.py, exit status != 0:
0.7137751765549183 0.7304305520000001 0.31160400200000005
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f5e51a617b0>