Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.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.001874/0.001874, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.001937/0.001937, allocations: 165.3 kB / 24.27 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.525/1.525, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.3109/0.3109, allocations: 29.41 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_IG,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_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,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_IG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 368.9 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.839e-05, allocations: 5.812 kB / 368.9 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01197/0.012, allocations: 8.093 MB / 377 MB, free: 3.215 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.02276, allocations: 5.285 MB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007805/0.02354, allocations: 35.69 kB / 382.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0141/0.03764, allocations: 5.881 MB / 388.2 MB, free: 7.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002575/0.04021, allocations: 0.8705 MB / 389 MB, free: 7.105 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.04167, allocations: 0.5415 MB / 389.6 MB, free: 6.562 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004748/0.04642, allocations: 2.631 MB / 392.2 MB, free: 3.926 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009558/0.04738, allocations: 0.5478 MB / 392.7 MB, free: 3.367 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001752/0.04913, allocations: 1.021 MB / 393.8 MB, free: 2.344 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001792/0.05092, allocations: 1.029 MB / 394.8 MB, free: 1.312 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002141/0.05114, allocations: 104 kB / 394.9 MB, free: 1.211 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009191/0.05206, allocations: 399.3 kB / 395.3 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000828/0.05288, allocations: 0.7092 MB / 396 MB, free: 112 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007186/0.0536, allocations: 490.9 kB / 396.5 MB, free: 15.63 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002712/0.05631, allocations: 1.784 MB / 398.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.05632, allocations: 0 / 398.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.05632, allocations: 0 / 398.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.33e-05/0.05635, allocations: 0 / 398.3 MB, free: 13.84 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.00379/0.06015, allocations: 1.737 MB / 400 MB, free: 12.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.06019, allocations: 11.98 kB / 400 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.06191, allocations: 383.6 kB / 400.4 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002264/0.06417, allocations: 0.8766 MB / 401.3 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-05/0.06425, allocations: 73.92 kB / 401.3 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004644/0.06471, allocations: 163.8 kB / 401.5 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/0.06693, allocations: 1.174 MB / 402.7 MB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.727e-05/0.06697, allocations: 4 kB / 402.7 MB, free: 9.258 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.06708, allocations: 39.98 kB / 402.7 MB, free: 9.219 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006652/0.06775, allocations: 153.9 kB / 402.9 MB, free: 9.066 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/0.06937, allocations: 0.6558 MB / 403.5 MB, free: 8.402 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01031/0.07968, allocations: 6.09 MB / 409.6 MB, free: 2.043 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.08108, allocations: 0.5748 MB / 410.2 MB, free: 1.434 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006016/0.08168, allocations: 258.3 kB / 410.4 MB, free: 1.176 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.134e-05/0.08177, allocations: 24.98 kB / 410.5 MB, free: 1.152 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/0.08182, allocations: 42.39 kB / 410.5 MB, free: 1.098 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 3.577e-06/0.08182, allocations: 0 / 410.5 MB, free: 1.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.006286/0.08811, allocations: 2.319 MB / 412.8 MB, free: 14.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.289e-05/0.08819, allocations: 86.11 kB / 412.9 MB, free: 14.65 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.08939, allocations: 0.8703 MB / 413.8 MB, free: 13.76 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.473e-05/0.08947, allocations: 41.7 kB / 413.8 MB, free: 13.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006/0.09007, allocations: 0.6514 MB / 414.5 MB, free: 13.05 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004385/0.09051, allocations: 412.8 kB / 414.9 MB, free: 12.65 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004675/0.09098, allocations: 280.5 kB / 415.1 MB, free: 12.37 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004884/0.09147, allocations: 0.6639 MB / 415.8 MB, free: 11.69 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006647/0.09213, allocations: 270.5 kB / 416.1 MB, free: 11.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.0933, allocations: 0.7504 MB / 416.8 MB, free: 10.49 MB / 394.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.0085/0.1018, allocations: 2.465 MB / 419.3 MB, free: 7.855 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.1018, allocations: 0 / 419.3 MB, free: 7.855 MB / 394.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005704/0.1075, allocations: 2.009 MB / 421.3 MB, free: 5.824 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.1075, allocations: 8 kB / 421.3 MB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/0.1076, allocations: 12 kB / 421.3 MB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003724/0.1113, allocations: 1.065 MB / 422.4 MB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008818/0.1122, allocations: 191.7 kB / 422.6 MB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01715/0.1293, allocations: 8.436 MB / 431 MB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.1304, allocations: 55.91 kB / 431.1 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.1305, allocations: 56 kB / 431.1 MB, free: 11.76 MB / 410.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $DER.inertia.w = 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: 43 * 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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0006171/0.1312, allocations: 260.3 kB / 431.4 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/0.1314, allocations: 135.3 kB / 431.5 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.1334, allocations: 0.8487 MB / 432.3 MB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.1334, allocations: 8 kB / 432.4 MB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1334, allocations: 0 / 432.4 MB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.1334, allocations: 7.984 kB / 432.4 MB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004904/0.1383, allocations: 1.991 MB / 434.4 MB, free: 8.414 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.1384, allocations: 7.984 kB / 434.4 MB, free: 8.406 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001574/0.1399, allocations: 267.7 kB / 434.6 MB, free: 8.145 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001926/0.1401, allocations: 55.56 kB / 434.7 MB, free: 8.082 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.1402, allocations: 35.92 kB / 434.7 MB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002887/0.1431, allocations: 3.479 MB / 438.2 MB, free: 4.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.747e-06/0.1431, allocations: 7.938 kB / 438.2 MB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/0.1457, allocations: 1.295 MB / 439.5 MB, free: 2.957 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005829/0.1463, allocations: 175.2 kB / 439.7 MB, free: 2.785 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.1464, allocations: 31.98 kB / 439.7 MB, free: 2.754 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005593/0.147, allocations: 35.97 kB / 439.7 MB, free: 2.719 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00027/0.1472, allocations: 76.75 kB / 439.8 MB, free: 2.645 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.1473, allocations: 27.98 kB / 439.8 MB, free: 2.617 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001026/0.1484, allocations: 487 kB / 440.3 MB, free: 2.148 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1484, allocations: 4 kB / 440.3 MB, free: 2.145 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002385/0.1508, allocations: 379.9 kB / 440.7 MB, free: 1.773 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],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],inertia.phi,inertia.w) * 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 (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0003195/0.1511, allocations: 150.4 kB / 440.8 MB, free: 1.621 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.144/0.2951, allocations: 1.782 MB / 442.6 MB, free: 106.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.2951, allocations: 2.156 kB / 442.6 MB, free: 106.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.2961, allocations: 0.7004 MB / 443.3 MB, free: 106.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.2972, allocations: 190.7 kB / 443.5 MB, free: 106.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004235/0.3015, allocations: 3.175 MB / 446.7 MB, free: 104.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005652/0.302, allocations: 0.66 MB / 447.3 MB, free: 104.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006701/0.3027, allocations: 259.7 kB / 447.6 MB, free: 104.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/0.303, allocations: 75.22 kB / 447.7 MB, free: 104.8 MB / 410.7 MB Notification: Performance of SimCode: time 2.004e-06/0.303, allocations: 3.125 kB / 447.7 MB, free: 104.8 MB / 410.7 MB Notification: Performance of Templates: time 0.02627/0.3292, allocations: 18.15 MB / 465.8 MB, free: 103.1 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.635019609006122]