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.001091/0.001091, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001554/0.002644, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007078/0.0007078, allocations: 169.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008635/0.001571, allocations: 455.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.8868/0.8868, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07774/0.9645, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1325/0.1325, allocations: 29.45 MB / 273.4 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1398/0.2723, allocations: 9.523 MB / 283 MB, free: 12.85 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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 1.543e-06/1.543e-06, allocations: 0 / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.214e-05, allocations: 6.969 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.00928/0.009302, allocations: 9.634 MB / 293.9 MB, free: 4.496 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009093/0.0184, allocations: 6.947 MB / 300.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.01957, allocations: 67.5 kB / 300.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01598/0.03554, allocations: 13.21 MB / 314.1 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002887/0.03843, allocations: 1.166 MB / 315.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.04009, allocations: 0.7052 MB / 316 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004992/0.04508, allocations: 4.015 MB / 320 MB, free: 11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/0.04639, allocations: 0.8126 MB / 320.8 MB, free: 10.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002153/0.04854, allocations: 1.657 MB / 322.5 MB, free: 8.496 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.05005, allocations: 1.247 MB / 323.7 MB, free: 7.246 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002696/0.05032, allocations: 140 kB / 323.8 MB, free: 7.109 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.05133, allocations: 0.5421 MB / 324.4 MB, free: 6.566 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008364/0.05217, allocations: 0.8534 MB / 325.2 MB, free: 5.711 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008623/0.05303, allocations: 0.5302 MB / 325.8 MB, free: 5.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002433/0.05546, allocations: 1.74 MB / 327.5 MB, free: 3.434 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.711e-05/0.05548, allocations: 0 / 327.5 MB, free: 3.434 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.05548, allocations: 0 / 327.5 MB, free: 3.434 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.63e-05/0.05556, allocations: 3.938 kB / 327.5 MB, free: 3.43 MB / 314.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.003149/0.0587, allocations: 2.363 MB / 329.9 MB, free: 1.027 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.05874, allocations: 8.031 kB / 329.9 MB, free: 1.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.05994, allocations: 493.5 kB / 330.4 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.06138, allocations: 0.9942 MB / 331.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/0.06144, allocations: 102.6 kB / 331.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003352/0.06177, allocations: 223.8 kB / 331.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.06313, allocations: 1.275 MB / 332.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/0.06317, allocations: 15.88 kB / 333 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.605e-05/0.06327, allocations: 63.97 kB / 333 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003053/0.06357, allocations: 182.6 kB / 333.2 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008083/0.06438, allocations: 0.5299 MB / 333.7 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006321/0.0707, allocations: 6.063 MB / 339.8 MB, free: 6.617 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009254/0.07163, allocations: 0.7215 MB / 340.5 MB, free: 5.875 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004549/0.07208, allocations: 336.5 kB / 340.8 MB, free: 5.543 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.511e-05/0.07215, allocations: 25 kB / 340.9 MB, free: 5.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.07219, allocations: 55.48 kB / 340.9 MB, free: 5.457 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 3.156e-06/0.07219, allocations: 0 / 340.9 MB, free: 5.457 MB / 330.7 MB Notification: Performance of matching and sorting (n=137): time 0.004127/0.07632, allocations: 2.402 MB / 343.3 MB, free: 3.027 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.07637, allocations: 94.42 kB / 343.4 MB, free: 2.918 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007879/0.07715, allocations: 0.8039 MB / 344.2 MB, free: 2.098 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.139e-05/0.07722, allocations: 53.7 kB / 344.3 MB, free: 2.039 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006065/0.07783, allocations: 0.6505 MB / 344.9 MB, free: 1.375 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006268/0.07846, allocations: 0.5228 MB / 345.4 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002794/0.07874, allocations: 291.3 kB / 345.7 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.964e-05/0.07882, allocations: 309 kB / 346 MB, free: 260 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.07908, allocations: 183.9 kB / 346.2 MB, free: 76 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004661/0.07955, allocations: 0.6283 MB / 346.8 MB, free: 15.26 MB / 346.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.002006/0.08155, allocations: 1.778 MB / 348.6 MB, free: 13.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.08156, allocations: 4 kB / 348.6 MB, free: 13.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003408/0.08497, allocations: 1.879 MB / 350.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.085, allocations: 12 kB / 350.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/0.08502, allocations: 12.78 kB / 350.5 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002453/0.08747, allocations: 1.15 MB / 351.7 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007858/0.08826, allocations: 351.5 kB / 352 MB, free: 9.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009104/0.09736, allocations: 9.778 MB / 361.8 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008394/0.0982, allocations: 44 kB / 361.8 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.09831, allocations: 67.92 kB / 361.9 MB, free: 15.48 MB / 362.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.0005274/0.09884, allocations: 232.2 kB / 362.1 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.09901, allocations: 119.9 kB / 362.2 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.1001, allocations: 0.8757 MB / 363.1 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.1002, allocations: 19.98 kB / 363.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1002, allocations: 4 kB / 363.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.1002, allocations: 3.984 kB / 363.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002678/0.1029, allocations: 1.734 MB / 364.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.1029, allocations: 11.98 kB / 364.9 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.1039, allocations: 422.4 kB / 365.3 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003226/0.1043, allocations: 195 kB / 365.5 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003459/0.1046, allocations: 195.9 kB / 365.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.276e-05/0.1047, allocations: 47.97 kB / 365.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003087/0.1078, allocations: 6.393 MB / 372.1 MB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.1078, allocations: 4 kB / 372.1 MB, free: 4.641 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.1091, allocations: 1.224 MB / 373.4 MB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.1093, allocations: 39.98 kB / 373.4 MB, free: 3.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/0.1096, allocations: 28 kB / 373.4 MB, free: 3.285 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.1098, allocations: 105 kB / 373.5 MB, free: 3.184 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.66e-05/0.1098, allocations: 27.98 kB / 373.6 MB, free: 3.156 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003146/0.1101, allocations: 386.2 kB / 373.9 MB, free: 2.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1101, allocations: 0 / 373.9 MB, free: 2.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001362/0.1115, allocations: 0.5117 MB / 374.4 MB, free: 2.258 MB / 362.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.0003037/0.1118, allocations: 166.3 kB / 374.6 MB, free: 2.086 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00219/0.114, allocations: 1.909 MB / 376.5 MB, free: 112 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.891e-05/0.114, allocations: 24.44 kB / 376.5 MB, free: 88 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008335/0.1149, allocations: 0.9779 MB / 377.5 MB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009182/0.1158, allocations: 438.9 kB / 377.9 MB, free: 14.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02808/0.1439, allocations: 3.371 MB / 381.3 MB, free: 11.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005899/0.1445, allocations: 0.4887 MB / 381.8 MB, free: 10.67 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007775/0.1452, allocations: 191.9 kB / 382 MB, free: 10.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006763/0.1459, allocations: 317.2 kB / 382.3 MB, free: 10.17 MB / 378.7 MB Notification: Performance of SimCode: time 1.553e-06/0.1459, allocations: 0 / 382.3 MB, free: 10.17 MB / 378.7 MB Notification: Performance of Templates: time 0.04138/0.1873, allocations: 27.82 MB / 410.1 MB, free: 14.73 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 -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.2785611832514405]