Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.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.001935/0.001935, allocations: 84.94 kB / 20.68 MB, free: 1.023 MB / 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.002381/0.002381, allocations: 163.7 kB / 23.95 MB, free: 4.156 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.473/1.473, allocations: 177.1 MB / 204.3 MB, free: 9.176 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.1777/0.1777, allocations: 29.43 MB / 290.1 MB, free: 3.27 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_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.829e-05, allocations: 2.281 kB / 430.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01306/0.01309, allocations: 10.16 MB / 440.9 MB, free: 7.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01233/0.02541, allocations: 6.482 MB / 447.3 MB, free: 1.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.02656, allocations: 67.44 kB / 447.4 MB, free: 1.164 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2321/0.2587, allocations: 14.34 MB / 461.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003155/0.2618, allocations: 1.156 MB / 462.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.2635, allocations: 0.7064 MB / 463.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004952/0.2685, allocations: 4.092 MB / 467.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000967/0.2694, allocations: 0.8451 MB / 468.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001542/0.271, allocations: 1.446 MB / 470 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001571/0.2726, allocations: 1.357 MB / 471.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002272/0.2728, allocations: 149.4 kB / 471.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009017/0.2737, allocations: 0.5487 MB / 472 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005997/0.2743, allocations: 0.9487 MB / 473 MB, free: 10.51 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000662/0.2749, allocations: 0.6606 MB / 473.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002062/0.277, allocations: 2.545 MB / 476.2 MB, free: 8.672 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.277, allocations: 0 / 476.2 MB, free: 8.672 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.277, allocations: 3.938 kB / 476.2 MB, free: 8.668 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.189e-05/0.277, allocations: 3.156 kB / 476.2 MB, free: 8.668 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.003405/0.2804, allocations: 2.127 MB / 478.3 MB, free: 6.898 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.2805, allocations: 11.98 kB / 478.3 MB, free: 6.887 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001873/0.2823, allocations: 382.6 kB / 478.7 MB, free: 6.516 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/0.2844, allocations: 1.198 MB / 479.9 MB, free: 5.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.617e-05/0.2845, allocations: 108.6 kB / 480 MB, free: 5.238 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004646/0.2849, allocations: 232.9 kB / 480.3 MB, free: 5.023 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002445/0.2874, allocations: 2.14 MB / 482.4 MB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.291e-05/0.2874, allocations: 15.23 kB / 482.4 MB, free: 2.785 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/0.2875, allocations: 60.06 kB / 482.5 MB, free: 2.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000618/0.2882, allocations: 181.3 kB / 482.6 MB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/0.2904, allocations: 1.748 MB / 484.4 MB, free: 0.8242 MB / 366.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.01093/0.3014, allocations: 7.44 MB / 491.8 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002497/0.3039, allocations: 1.292 MB / 493.1 MB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.3053, allocations: 0.7417 MB / 493.9 MB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.587e-05/0.3054, allocations: 21 kB / 493.9 MB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.3054, allocations: 51.5 kB / 493.9 MB, free: 7.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 2.865e-06/0.3054, allocations: 0 / 493.9 MB, free: 7.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=137): time 0.01141/0.3169, allocations: 4.955 MB / 498.9 MB, free: 2.184 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/0.3169, allocations: 90.42 kB / 499 MB, free: 2.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.3183, allocations: 0.9921 MB / 500 MB, free: 1.066 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.3184, allocations: 45.7 kB / 0.4883 GB, free: 1.016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006678/0.3191, allocations: 0.7875 MB / 0.4891 GB, free: 228 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004929/0.3196, allocations: 0.5136 MB / 0.4896 GB, free: 15.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005352/0.3201, allocations: 313.8 kB / 0.4899 GB, free: 15.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3203, allocations: 301.1 kB / 0.4902 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/0.3216, allocations: 0.7223 MB / 0.4909 GB, free: 14.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.3233, allocations: 1.186 MB / 0.492 GB, free: 13.01 MB / 398.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.013/0.3363, allocations: 4.906 MB / 0.4968 GB, free: 7.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.518e-05/0.3363, allocations: 4 kB / 0.4968 GB, free: 7.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.007883/0.3441, allocations: 3.342 MB / 0.5001 GB, free: 4.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.3442, allocations: 8 kB / 0.5001 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.804e-05/0.3442, allocations: 16 kB / 0.5001 GB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004036/0.3482, allocations: 1.244 MB / 0.5013 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.3496, allocations: 320.1 kB / 0.5016 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02265/0.3722, allocations: 15.24 MB / 0.5165 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.3737, allocations: 79.89 kB / 0.5166 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000187/0.3739, allocations: 72 kB / 0.5166 GB, free: 3.398 MB / 414.1 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 5.051577893736758e-5 * $DER.generator.i_s[3] = 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: 63 * 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 (155): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,23), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.001025/0.375, allocations: 0.5242 MB / 0.5172 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/0.3752, allocations: 139.1 kB / 0.5173 GB, free: 2.746 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003516/0.3787, allocations: 1.833 MB / 0.5191 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.3787, allocations: 16 kB / 0.5191 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.3787, allocations: 3.984 kB / 0.5191 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.3788, allocations: 11.92 kB / 0.5191 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006134/0.3849, allocations: 3.161 MB / 0.5222 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/0.3849, allocations: 11.97 kB / 0.5222 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/0.3866, allocations: 325.8 kB / 0.5225 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005945/0.3872, allocations: 204 kB / 0.5227 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.3874, allocations: 51.97 kB / 0.5228 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006544/0.3939, allocations: 7.282 MB / 0.5299 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.3939, allocations: 4 kB / 0.5299 GB, free: 5.293 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00475/0.3986, allocations: 2.52 MB / 0.5323 GB, free: 2.723 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007609/0.3994, allocations: 251 kB / 0.5326 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003174/0.3997, allocations: 47.98 kB / 0.5326 GB, free: 2.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009085/0.4006, allocations: 56.22 kB / 0.5327 GB, free: 2.375 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002714/0.4009, allocations: 105 kB / 0.5328 GB, free: 2.273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.401, allocations: 39.98 kB / 0.5328 GB, free: 2.234 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001065/0.4021, allocations: 0.6444 MB / 0.5334 GB, free: 1.582 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4021, allocations: 0 / 0.5334 GB, free: 1.582 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002024/0.4041, allocations: 0.5038 MB / 0.5339 GB, free: 1.078 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 25 (inertia.phi,inertia.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],generator.i_rd[1],generator.i_rq[1],meterDC.pav,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]) * 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 (126): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (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.0004353/0.4045, allocations: 170.8 kB / 0.5341 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005683/0.4102, allocations: 2.772 MB / 0.5368 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.4102, allocations: 0 / 0.5368 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002345/0.4126, allocations: 1.342 MB / 0.5381 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.4143, allocations: 284.3 kB / 0.5384 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008723/0.423, allocations: 4.513 MB / 0.5428 GB, free: 7.824 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001483/0.4245, allocations: 0.964 MB / 0.5437 GB, free: 6.828 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001343/0.4258, allocations: 439.5 kB / 0.5442 GB, free: 6.395 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005033/0.4263, allocations: 104.5 kB / 0.5443 GB, free: 6.293 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4263, allocations: 4 kB / 0.5443 GB, free: 6.289 MB / 446.1 MB Notification: Performance of Templates: time 0.04851/0.4748, allocations: 25.32 MB / 0.569 GB, free: 13.32 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.978612300008535] Failed to read output from testmodel.py, exit status != 0: 0.4841811917722225 0.49958779799999997 0.21929247400000001 Calling exit ...