Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.000951/0.000951, allocations: 77.97 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001119/0.001119, allocations: 171.3 kB / 24.82 MB, free: 9.266 MB / 18.57 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.068/1.068, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2781/0.2781, allocations: 29.41 MB / 291.2 MB, free: 2.461 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 0 / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.821e-05/3.062e-05, allocations: 5.125 kB / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.009184/0.009215, allocations: 9.477 MB / 379.6 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009537/0.01875, allocations: 6.751 MB / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.02007, allocations: 67.44 kB / 386.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01706/0.03713, allocations: 14.41 MB / 400.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002448/0.03957, allocations: 1.138 MB / 401.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.04101, allocations: 0.7131 MB / 402.7 MB, free: 10.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004539/0.04555, allocations: 4.124 MB / 406.8 MB, free: 5.934 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.04665, allocations: 0.8397 MB / 407.6 MB, free: 5.074 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001975/0.04862, allocations: 1.574 MB / 409.2 MB, free: 3.496 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.05, allocations: 1.297 MB / 410.5 MB, free: 2.195 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002197/0.05021, allocations: 136 kB / 410.6 MB, free: 2.062 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009334/0.05115, allocations: 0.5459 MB / 411.2 MB, free: 1.516 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006445/0.05179, allocations: 0.9507 MB / 412.1 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000648/0.05244, allocations: 0.647 MB / 412.8 MB, free: 15.91 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.0545, allocations: 1.88 MB / 414.7 MB, free: 14.03 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.0545, allocations: 0 / 414.7 MB, free: 14.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.05451, allocations: 0 / 414.7 MB, free: 14.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.001e-05/0.05454, allocations: 0 / 414.7 MB, free: 14.03 MB / 394.7 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.002616/0.05715, allocations: 2.166 MB / 416.8 MB, free: 11.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.0572, allocations: 11.98 kB / 416.8 MB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.05844, allocations: 487.3 kB / 417.3 MB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.05985, allocations: 1.098 MB / 418.4 MB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.04e-05/0.05991, allocations: 102.7 kB / 418.5 MB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003521/0.06026, allocations: 219.8 kB / 418.7 MB, free: 9.863 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.06173, allocations: 1.334 MB / 420.1 MB, free: 8.387 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/0.06176, allocations: 15.88 kB / 420.1 MB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.751e-05/0.06186, allocations: 59.98 kB / 420.1 MB, free: 8.312 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003386/0.0622, allocations: 178.6 kB / 420.3 MB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008462/0.06304, allocations: 0.6155 MB / 420.9 MB, free: 7.508 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006904/0.06995, allocations: 7.696 MB / 428.6 MB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009213/0.07087, allocations: 0.7497 MB / 429.4 MB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004824/0.07135, allocations: 387.2 kB / 429.7 MB, free: 14.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.592e-05/0.07142, allocations: 24.94 kB / 429.8 MB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.07145, allocations: 50.39 kB / 429.8 MB, free: 14.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 3.727e-06/0.07146, allocations: 0 / 429.8 MB, free: 14.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.003948/0.0754, allocations: 2.49 MB / 432.3 MB, free: 11.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.07546, allocations: 98.41 kB / 432.4 MB, free: 11.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007359/0.0762, allocations: 0.9496 MB / 433.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.054e-05/0.07627, allocations: 49.7 kB / 433.4 MB, free: 10.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000436/0.0767, allocations: 0.8621 MB / 434.3 MB, free: 9.711 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003009/0.077, allocations: 0.5307 MB / 434.8 MB, free: 9.176 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003201/0.07732, allocations: 337 kB / 435.1 MB, free: 8.836 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.07743, allocations: 484.7 kB / 435.6 MB, free: 8.359 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/0.07772, allocations: 207.8 kB / 435.8 MB, free: 8.156 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005849/0.0783, allocations: 0.863 MB / 436.7 MB, free: 7.035 MB / 410.7 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.002049/0.08035, allocations: 2.002 MB / 438.7 MB, free: 4.793 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.08036, allocations: 4 kB / 438.7 MB, free: 4.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003296/0.08365, allocations: 2.17 MB / 440.8 MB, free: 2.586 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.08368, allocations: 12 kB / 440.8 MB, free: 2.574 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.0837, allocations: 16 kB / 440.9 MB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002525/0.08622, allocations: 1.18 MB / 442 MB, free: 1.355 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006543/0.08688, allocations: 307.5 kB / 442.3 MB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1934/0.2803, allocations: 12.72 MB / 455.1 MB, free: 80.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.2813, allocations: 53.7 kB / 455.1 MB, free: 80.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.2815, allocations: 62.14 kB / 455.2 MB, free: 80.51 MB / 410.7 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: 61 * 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 (153): * Single equations (assignments): 148 * 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.0005607/0.282, allocations: 271.4 kB / 455.4 MB, free: 80.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002606/0.2823, allocations: 184.4 kB / 455.6 MB, free: 80.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/0.2839, allocations: 1.052 MB / 456.7 MB, free: 80.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.2839, allocations: 16 kB / 456.7 MB, free: 80.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.2839, allocations: 3.156 kB / 456.7 MB, free: 80.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.2839, allocations: 6.75 kB / 456.7 MB, free: 80.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003283/0.2872, allocations: 2.059 MB / 458.8 MB, free: 79.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.2872, allocations: 6.125 kB / 458.8 MB, free: 79.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.2883, allocations: 292 kB / 459 MB, free: 79.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003763/0.2887, allocations: 181.6 kB / 459.2 MB, free: 79.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.2888, allocations: 46.84 kB / 459.3 MB, free: 79.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003018/0.2918, allocations: 9.035 MB / 468.3 MB, free: 70.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.2918, allocations: 7.062 kB / 468.3 MB, free: 70.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.2938, allocations: 1.464 MB / 469.8 MB, free: 70.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004808/0.2943, allocations: 215.2 kB / 470 MB, free: 70.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.2945, allocations: 46.11 kB / 470 MB, free: 70.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005132/0.295, allocations: 36.61 kB / 470.1 MB, free: 70.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000212/0.2952, allocations: 103.2 kB / 470.2 MB, free: 70.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.626e-05/0.2953, allocations: 30.06 kB / 470.2 MB, free: 70.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004983/0.2958, allocations: 0.5209 MB / 470.7 MB, free: 70.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2958, allocations: 7.062 kB / 470.7 MB, free: 70.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001773/0.2975, allocations: 0.4993 MB / 471.2 MB, free: 70.24 MB / 410.7 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.0003352/0.2979, allocations: 177.2 kB / 471.4 MB, free: 70.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002694/0.3006, allocations: 2.254 MB / 473.6 MB, free: 69.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3006, allocations: 3.281 kB / 473.7 MB, free: 69.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009947/0.3016, allocations: 1.297 MB / 475 MB, free: 68.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.3026, allocations: 300.6 kB / 475.2 MB, free: 68.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005088/0.3077, allocations: 3.909 MB / 479.2 MB, free: 66.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004823/0.3082, allocations: 494 kB / 479.6 MB, free: 66.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005647/0.3088, allocations: 189.5 kB / 479.8 MB, free: 66.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000535/0.3093, allocations: 359 kB / 480.2 MB, free: 66.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.643e-06/0.3093, allocations: 0 / 480.2 MB, free: 66.05 MB / 410.7 MB Notification: Performance of Templates: time 0.03595/0.3452, allocations: 27.01 MB / 0.4953 GB, free: 61.75 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.979861797299236]