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.001762/0.001762, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001879/0.001879, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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.542/1.542, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3337/0.3337, allocations: 29.42 MB / 290.5 MB, free: 2.438 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.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_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,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_PSGR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.423e-05, allocations: 6.312 kB / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01419/0.01421, allocations: 10.85 MB / 379.7 MB, free: 444 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01221/0.02642, allocations: 6.825 MB / 386.5 MB, free: 9.594 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009014/0.02732, allocations: 67.44 kB / 386.6 MB, free: 9.527 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02791/0.05524, allocations: 14.57 MB / 401.2 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003251/0.05849, allocations: 1.15 MB / 402.3 MB, free: 9.777 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.06051, allocations: 0.7053 MB / 403 MB, free: 9.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007026/0.06753, allocations: 4.128 MB / 407.2 MB, free: 4.934 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.06906, allocations: 0.8318 MB / 408 MB, free: 4.082 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002556/0.07162, allocations: 1.453 MB / 409.4 MB, free: 2.625 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002425/0.07405, allocations: 1.368 MB / 410.8 MB, free: 1.254 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003123/0.07436, allocations: 144 kB / 411 MB, free: 1.113 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/0.0757, allocations: 0.5577 MB / 411.5 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001107/0.07681, allocations: 0.9546 MB / 412.5 MB, free: 15.6 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.07781, allocations: 0.6741 MB / 413.1 MB, free: 14.92 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003647/0.08146, allocations: 2.551 MB / 415.7 MB, free: 12.36 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.08147, allocations: 0 / 415.7 MB, free: 12.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.08147, allocations: 0 / 415.7 MB, free: 12.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.592e-05/0.08151, allocations: 3.984 kB / 415.7 MB, free: 12.36 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.00529/0.0868, allocations: 2.361 MB / 418.1 MB, free: 9.945 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.08684, allocations: 15.98 kB / 418.1 MB, free: 9.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002279/0.08912, allocations: 0.511 MB / 418.6 MB, free: 9.418 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003105/0.09223, allocations: 1.211 MB / 419.8 MB, free: 8.164 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.09234, allocations: 102.7 kB / 419.9 MB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005754/0.09291, allocations: 219.8 kB / 420.1 MB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003035/0.09595, allocations: 1.618 MB / 421.7 MB, free: 6.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.042e-05/0.096, allocations: 11.89 kB / 421.7 MB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001526/0.09615, allocations: 55.98 kB / 421.8 MB, free: 6.023 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006794/0.09683, allocations: 190.6 kB / 422 MB, free: 5.836 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/0.09902, allocations: 0.932 MB / 422.9 MB, free: 4.898 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01786/0.1169, allocations: 8.373 MB / 431.3 MB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002915/0.1198, allocations: 0.8788 MB / 432.2 MB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/0.1215, allocations: 482.1 kB / 432.6 MB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.1217, allocations: 28.94 kB / 432.7 MB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.058e-05/0.1217, allocations: 50.38 kB / 432.7 MB, free: 10.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 4.839e-06/0.1218, allocations: 0 / 432.7 MB, free: 10.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.01227/0.134, allocations: 3.421 MB / 436.1 MB, free: 7.281 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.957e-05/0.1341, allocations: 94.42 kB / 436.2 MB, free: 7.168 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002284/0.1364, allocations: 1.169 MB / 437.4 MB, free: 5.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001458/0.1365, allocations: 49.7 kB / 437.4 MB, free: 5.926 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001278/0.1378, allocations: 0.8935 MB / 438.3 MB, free: 5.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008385/0.1387, allocations: 0.5543 MB / 438.9 MB, free: 4.461 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009024/0.1396, allocations: 373.2 kB / 439.3 MB, free: 4.086 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003215/0.1399, allocations: 484.7 kB / 439.7 MB, free: 3.609 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.1412, allocations: 359.8 kB / 440.1 MB, free: 3.258 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002261/0.1435, allocations: 1.047 MB / 441.1 MB, free: 1.945 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.1938/0.3373, allocations: 3.661 MB / 444.8 MB, free: 107 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.779e-05/0.3373, allocations: 3.219 kB / 444.8 MB, free: 107 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.005961/0.3433, allocations: 2.548 MB / 447.3 MB, free: 106.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.3433, allocations: 9.75 kB / 447.4 MB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-05/0.3433, allocations: 16.03 kB / 447.4 MB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004649/0.348, allocations: 1.271 MB / 448.6 MB, free: 106.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.3492, allocations: 315.5 kB / 448.9 MB, free: 106.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01504/0.3642, allocations: 13.89 MB / 462.8 MB, free: 96.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.3659, allocations: 79.8 kB / 462.9 MB, free: 96.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/0.366, allocations: 73.09 kB / 463 MB, free: 96.33 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: 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.0006897/0.3667, allocations: 329.1 kB / 463.3 MB, free: 96.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/0.367, allocations: 178.1 kB / 463.5 MB, free: 96.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002356/0.3693, allocations: 1.258 MB / 464.7 MB, free: 95.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.3693, allocations: 11.75 kB / 464.8 MB, free: 95.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.3693, allocations: 6.375 kB / 464.8 MB, free: 95.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.3693, allocations: 6.203 kB / 464.8 MB, free: 95.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005205/0.3745, allocations: 2.791 MB / 467.6 MB, free: 94.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.3746, allocations: 3.062 kB / 467.6 MB, free: 94.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/0.376, allocations: 317.7 kB / 467.9 MB, free: 94.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000542/0.3766, allocations: 193.1 kB / 468.1 MB, free: 94.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.3767, allocations: 43.23 kB / 468.1 MB, free: 94.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00421/0.3809, allocations: 9.268 MB / 477.4 MB, free: 84.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.3809, allocations: 2.938 kB / 477.4 MB, free: 84.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00329/0.3842, allocations: 1.826 MB / 479.2 MB, free: 84.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007409/0.3849, allocations: 241.8 kB / 479.4 MB, free: 84.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/0.3851, allocations: 42.95 kB / 479.5 MB, free: 83.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007114/0.3858, allocations: 56.23 kB / 479.5 MB, free: 83.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002804/0.3861, allocations: 103.1 kB / 479.6 MB, free: 83.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.612e-05/0.3862, allocations: 47.16 kB / 479.7 MB, free: 83.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008761/0.3871, allocations: 0.6485 MB / 480.3 MB, free: 83.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3871, allocations: 0 / 480.3 MB, free: 83.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001957/0.389, allocations: 0.5023 MB / 480.8 MB, free: 83.59 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.0003912/0.3894, allocations: 175.2 kB / 481 MB, free: 83.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00411/0.3935, allocations: 2.581 MB / 483.6 MB, free: 82.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3935, allocations: 4.5 kB / 483.6 MB, free: 82.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001572/0.3951, allocations: 1.413 MB / 485 MB, free: 81.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.3965, allocations: 307.4 kB / 485.3 MB, free: 80.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005743/0.4022, allocations: 4.026 MB / 489.3 MB, free: 78.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/0.4033, allocations: 0.9032 MB / 490.2 MB, free: 78.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001114/0.4044, allocations: 366.5 kB / 490.6 MB, free: 78.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003988/0.4048, allocations: 108.2 kB / 490.7 MB, free: 78.34 MB / 410.7 MB Notification: Performance of SimCode: time 2.355e-06/0.4048, allocations: 0 / 490.7 MB, free: 78.34 MB / 410.7 MB Notification: Performance of Templates: time 0.0397/0.4445, allocations: 25.57 MB / 0.5042 GB, free: 64.9 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: 5.950835196999833]