Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 177.2 MB / 204.9 MB, free: 9.066 MB / 190.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.179/0.179, allocations: 29.43 MB / 290.7 MB, free: 3.297 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 67.84 kB / 431.2 MB, free: 3.258 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3279, allocations: 62.45 MB / 493.6 MB, free: 37.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.008959/0.3369, allocations: 10.28 MB / 0.4921 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008093/0.345, allocations: 6.475 MB / 0.4984 GB, free: 26.74 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.3461, allocations: 70.16 kB / 0.4985 GB, free: 26.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02082/0.3669, allocations: 14.28 MB / 0.5124 GB, free: 22.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003232/0.3701, allocations: 1.142 MB / 0.5136 GB, free: 22.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.3721, allocations: 0.7179 MB / 0.5143 GB, free: 21.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006365/0.3785, allocations: 4.182 MB / 0.5183 GB, free: 20.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001691/0.3801, allocations: 0.8524 MB / 0.5192 GB, free: 20 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002646/0.3828, allocations: 1.16 MB / 0.5203 GB, free: 19.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002471/0.3853, allocations: 1.502 MB / 0.5218 GB, free: 19.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003004/0.3856, allocations: 155.3 kB / 0.5219 GB, free: 19.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.3868, allocations: 0.5569 MB / 0.5225 GB, free: 18.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009616/0.3878, allocations: 0.9229 MB / 0.5234 GB, free: 18.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008912/0.3887, allocations: 0.8112 MB / 0.5242 GB, free: 18.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002915/0.3916, allocations: 2.604 MB / 0.5267 GB, free: 17.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3916, allocations: 0 / 0.5267 GB, free: 17.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3916, allocations: 0 / 0.5267 GB, free: 17.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.68e-05/0.3916, allocations: 1.156 kB / 0.5267 GB, free: 17.26 MB / 446.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.004292/0.3959, allocations: 2.212 MB / 0.5289 GB, free: 15.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.3959, allocations: 13.52 kB / 0.5289 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002053/0.398, allocations: 399.2 kB / 0.5293 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00266/0.4007, allocations: 1.247 MB / 0.5305 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.824e-05/0.4007, allocations: 107.1 kB / 0.5306 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005383/0.4013, allocations: 248.3 kB / 0.5308 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003177/0.4045, allocations: 2.184 MB / 0.5329 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.038e-05/0.4045, allocations: 7.156 kB / 0.533 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/0.4047, allocations: 58.45 kB / 0.533 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006524/0.4053, allocations: 189.1 kB / 0.5332 GB, free: 13.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002845/0.4082, allocations: 1.825 MB / 0.535 GB, free: 12.69 MB / 446.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.009975/0.4181, allocations: 7.395 MB / 0.5422 GB, free: 7.137 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00211/0.4202, allocations: 1.38 MB / 0.5435 GB, free: 6.336 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.4213, allocations: 0.7468 MB / 0.5443 GB, free: 5.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.074e-05/0.4214, allocations: 21.25 kB / 0.5443 GB, free: 5.566 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.4214, allocations: 51.88 kB / 0.5443 GB, free: 5.508 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 3.677e-06/0.4214, allocations: 0 / 0.5443 GB, free: 5.508 MB / 446.1 MB Notification: Performance of matching and sorting (n=165): time 0.02056/0.442, allocations: 8.488 MB / 0.5526 GB, free: 12.97 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.438e-05/0.442, allocations: 94.42 kB / 0.5527 GB, free: 12.86 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.4434, allocations: 1.016 MB / 0.5537 GB, free: 11.82 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.4435, allocations: 53.7 kB / 0.5538 GB, free: 11.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000629/0.4442, allocations: 0.8053 MB / 0.5546 GB, free: 10.95 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005651/0.4447, allocations: 0.6198 MB / 0.5552 GB, free: 10.32 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000551/0.4453, allocations: 347.5 kB / 0.5555 GB, free: 9.98 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.4454, allocations: 305.1 kB / 0.5558 GB, free: 9.68 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.4469, allocations: 0.8511 MB / 0.5566 GB, free: 8.824 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001985/0.4489, allocations: 1.344 MB / 0.5579 GB, free: 7.273 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.01369/0.4626, allocations: 5.18 MB / 0.563 GB, free: 1.926 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.998e-05/0.4626, allocations: 4 kB / 0.563 GB, free: 1.922 MB / 462.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.0096/0.4722, allocations: 3.992 MB / 0.5669 GB, free: 13.9 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.4723, allocations: 12 kB / 0.5669 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.263e-05/0.4723, allocations: 15.98 kB / 0.5669 GB, free: 13.87 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005157/0.4774, allocations: 1.597 MB / 0.5685 GB, free: 12.26 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.4788, allocations: 307.5 kB / 0.5688 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03016/0.509, allocations: 19.88 MB / 0.5882 GB, free: 7.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/0.5109, allocations: 91.92 kB / 0.5883 GB, free: 7.367 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004666/0.5114, allocations: 87.92 kB / 0.5883 GB, free: 7.281 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.001707/0.5131, allocations: 0.5442 MB / 0.5889 GB, free: 6.727 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006029/0.5137, allocations: 151 kB / 0.589 GB, free: 6.578 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006036/0.5197, allocations: 2.495 MB / 0.5915 GB, free: 4.047 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.508e-05/0.5197, allocations: 19.98 kB / 0.5915 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.126e-05/0.5198, allocations: 15.88 kB / 0.5915 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.191e-05/0.5198, allocations: 7.969 kB / 0.5915 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.5306, allocations: 4.084 MB / 0.5955 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/0.5306, allocations: 8 kB / 0.5955 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001822/0.5324, allocations: 339.9 kB / 0.5958 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001698/0.5341, allocations: 0.5015 MB / 0.5963 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002059/0.5343, allocations: 51.97 kB / 0.5964 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01288/0.5472, allocations: 11.82 MB / 0.6079 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.5472, allocations: 7.969 kB / 0.6079 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007671/0.5549, allocations: 3.397 MB / 0.6112 GB, free: 14.89 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/0.5559, allocations: 282.9 kB / 0.6115 GB, free: 14.61 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004216/0.5563, allocations: 59.94 kB / 0.6116 GB, free: 14.55 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.5575, allocations: 75.92 kB / 0.6116 GB, free: 14.48 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003655/0.5579, allocations: 132.9 kB / 0.6118 GB, free: 14.35 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.558, allocations: 47.98 kB / 0.6118 GB, free: 14.3 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.001223/0.5593, allocations: 0.6611 MB / 0.6124 GB, free: 13.63 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1e-07/0.5593, allocations: 4 kB / 0.6124 GB, free: 13.63 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.002719/0.562, allocations: 0.5937 MB / 0.613 GB, free: 13.04 MB / 0.5138 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.000485/0.5625, allocations: 177.7 kB / 0.6132 GB, free: 12.86 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.006603/0.5691, allocations: 3.383 MB / 0.6165 GB, free: 9.398 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.5691, allocations: 0 / 0.6165 GB, free: 9.398 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.003187/0.5723, allocations: 1.83 MB / 0.6183 GB, free: 7.477 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/0.5742, allocations: 332.6 kB / 0.6186 GB, free: 7.156 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0093/0.5835, allocations: 5.325 MB / 0.6238 GB, free: 1.77 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001644/0.5851, allocations: 1.054 MB / 0.6248 GB, free: 0.6758 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.001331/0.5865, allocations: 432.8 kB / 0.6252 GB, free: 252 kB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004464/0.5869, allocations: 112.5 kB / 0.6254 GB, free: 140 kB / 0.5138 GB Notification: Performance of SimCode: time 1.012e-06/0.5869, allocations: 0 / 0.6254 GB, free: 140 kB / 0.5138 GB Notification: Performance of Templates: time 0.05692/0.6438, allocations: 30.76 MB / 0.6554 GB, free: 1.703 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.274911180022173] Failed to read output from testmodel.py, exit status != 0: 0.6537724469089881 0.668182752 0.273337914 Calling exit ...