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.00144/0.00144, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001604/0.001604, allocations: 163.5 kB / 24.99 MB, free: 8.359 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 0.9343/0.9343, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.2235/0.2235, allocations: 29.42 MB / 291.2 MB, free: 2.508 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.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",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.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.83e-05, allocations: 5.828 kB / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.007009/0.007028, allocations: 8.167 MB / 377.8 MB, free: 3.141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00571/0.01274, allocations: 5.285 MB / 383.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003221/0.01306, allocations: 35.69 kB / 383.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006623/0.01968, allocations: 5.882 MB / 389 MB, free: 7.906 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009677/0.02065, allocations: 0.8704 MB / 389.8 MB, free: 7.031 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006775/0.02133, allocations: 0.5416 MB / 390.4 MB, free: 6.488 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00205/0.02338, allocations: 2.631 MB / 393 MB, free: 3.852 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005327/0.02391, allocations: 0.5517 MB / 393.6 MB, free: 3.289 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007316/0.02464, allocations: 1.021 MB / 394.6 MB, free: 2.266 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008284/0.02547, allocations: 1.028 MB / 395.6 MB, free: 1.234 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.02558, allocations: 104 kB / 395.7 MB, free: 1.133 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004145/0.02599, allocations: 391.4 kB / 396.1 MB, free: 0.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004243/0.02642, allocations: 0.7092 MB / 396.8 MB, free: 40 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003975/0.02682, allocations: 494.9 kB / 397.3 MB, free: 15.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.02785, allocations: 1.297 MB / 398.6 MB, free: 14.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.02785, allocations: 0 / 398.6 MB, free: 14.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.02785, allocations: 3.938 kB / 398.6 MB, free: 14.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.02787, allocations: 7.938 kB / 398.6 MB, free: 14.24 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.002044/0.02991, allocations: 1.659 MB / 400.3 MB, free: 12.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.02994, allocations: 15.98 kB / 400.3 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009086/0.03085, allocations: 379.7 kB / 400.6 MB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.0319, allocations: 0.8649 MB / 401.5 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.2e-05/0.03194, allocations: 77.84 kB / 401.6 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002854/0.03222, allocations: 179.7 kB / 401.8 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.03339, allocations: 1.064 MB / 402.8 MB, free: 9.844 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.269e-05/0.03342, allocations: 7.984 kB / 402.8 MB, free: 9.836 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.332e-05/0.03349, allocations: 39.98 kB / 402.9 MB, free: 9.797 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003151/0.03381, allocations: 149.9 kB / 403 MB, free: 9.648 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008515/0.03466, allocations: 0.5386 MB / 403.6 MB, free: 9.098 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004737/0.0394, allocations: 5.726 MB / 409.3 MB, free: 3.098 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007421/0.04014, allocations: 0.5162 MB / 409.8 MB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003096/0.04045, allocations: 222.3 kB / 410 MB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.292e-05/0.0405, allocations: 24.98 kB / 410 MB, free: 2.305 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.04053, allocations: 50.33 kB / 410.1 MB, free: 2.246 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 2.275e-06/0.04053, allocations: 4 kB / 410.1 MB, free: 2.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.003095/0.04363, allocations: 2.092 MB / 412.2 MB, free: 128 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.04367, allocations: 90.05 kB / 412.3 MB, free: 16 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005558/0.04423, allocations: 0.7296 MB / 413 MB, free: 15.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.445e-05/0.04428, allocations: 37.7 kB / 413 MB, free: 15.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003063/0.04459, allocations: 0.6319 MB / 413.7 MB, free: 14.58 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.0448, allocations: 396.7 kB / 414.1 MB, free: 14.19 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/0.04504, allocations: 248.5 kB / 414.3 MB, free: 13.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004721/0.04552, allocations: 0.6132 MB / 414.9 MB, free: 13.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.04587, allocations: 226.5 kB / 415.1 MB, free: 13.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005585/0.04643, allocations: 0.6879 MB / 415.8 MB, free: 12.23 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.001397/0.04783, allocations: 1.393 MB / 417.2 MB, free: 10.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.04783, allocations: 0 / 417.2 MB, free: 10.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.002825/0.05066, allocations: 1.899 MB / 419.1 MB, free: 8.738 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.05068, allocations: 8 kB / 419.1 MB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.05069, allocations: 8.625 kB / 419.1 MB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001873/0.05256, allocations: 1.037 MB / 420.2 MB, free: 7.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/0.05297, allocations: 199.6 kB / 420.4 MB, free: 7.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008106/0.06108, allocations: 8.007 MB / 428.4 MB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003707/0.06145, allocations: 47.97 kB / 428.4 MB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.726e-05/0.06153, allocations: 59.98 kB / 428.5 MB, free: 15.14 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.0005246/0.06205, allocations: 232.3 kB / 428.7 MB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.06218, allocations: 143.2 kB / 428.8 MB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009918/0.06317, allocations: 0.7667 MB / 429.6 MB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.06318, allocations: 8 kB / 429.6 MB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.06318, allocations: 4 kB / 429.6 MB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.06319, allocations: 3.984 kB / 429.6 MB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002149/0.06534, allocations: 1.741 MB / 431.4 MB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.06534, allocations: 4 kB / 431.4 MB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007951/0.06614, allocations: 271.7 kB / 431.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001021/0.06624, allocations: 51.56 kB / 431.7 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.234e-05/0.0663, allocations: 35.98 kB / 431.7 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001279/0.06758, allocations: 3.464 MB / 435.2 MB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.06759, allocations: 7.938 kB / 435.2 MB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/0.0691, allocations: 1.146 MB / 436.3 MB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/0.06934, allocations: 171.2 kB / 436.5 MB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.411e-05/0.06942, allocations: 31.98 kB / 436.5 MB, free: 6.648 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.06969, allocations: 35.97 kB / 436.6 MB, free: 6.613 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.06981, allocations: 72.75 kB / 436.6 MB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-05/0.06985, allocations: 31.98 kB / 436.7 MB, free: 6.508 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003051/0.07015, allocations: 423 kB / 437.1 MB, free: 6.102 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.07015, allocations: 0 / 437.1 MB, free: 6.102 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000805/0.07096, allocations: 380 kB / 437.5 MB, free: 5.73 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.0001434/0.0711, allocations: 143 kB / 437.6 MB, free: 5.582 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001955/0.07306, allocations: 1.653 MB / 439.3 MB, free: 3.891 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.07306, allocations: 0 / 439.3 MB, free: 3.891 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005256/0.07358, allocations: 0.6451 MB / 439.9 MB, free: 3.207 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006176/0.0742, allocations: 209.6 kB / 440.1 MB, free: 3.008 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1266/0.2008, allocations: 3.161 MB / 443.3 MB, free: 91.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.2012, allocations: 366.2 kB / 443.6 MB, free: 91.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005488/0.2017, allocations: 260.6 kB / 443.9 MB, free: 91.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.2019, allocations: 72.95 kB / 443.9 MB, free: 91.42 MB / 410.7 MB Notification: Performance of SimCode: time 1.372e-06/0.2019, allocations: 0 / 443.9 MB, free: 91.42 MB / 410.7 MB Notification: Performance of Templates: time 0.01838/0.2203, allocations: 18.19 MB / 462.1 MB, free: 90.18 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: 3.591017205035314]