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.0009091/0.0009091, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009143/0.0009143, allocations: 172.2 kB / 24.92 MB, free: 9.113 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.022/1.022, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.257/0.257, allocations: 29.42 MB / 291.2 MB, free: 2.477 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 1.293e-06/1.293e-06, allocations: 0 / 316.8 MB, free: 12 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.208e-05, allocations: 2.312 kB / 316.8 MB, free: 8 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.008078/0.0081, allocations: 9.511 MB / 326.4 MB, free: 6.457 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008738/0.01684, allocations: 6.904 MB / 333.3 MB, free: 15.53 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.01798, allocations: 63.44 kB / 333.3 MB, free: 15.47 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01486/0.03284, allocations: 14.05 MB / 347.4 MB, free: 1.395 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00269/0.03554, allocations: 1.142 MB / 348.5 MB, free: 252 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.03687, allocations: 0.7248 MB / 349.2 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003823/0.04069, allocations: 4.07 MB / 353.3 MB, free: 11.44 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.04184, allocations: 0.8981 MB / 354.2 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001959/0.0438, allocations: 1.566 MB / 355.8 MB, free: 8.938 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/0.0456, allocations: 1.212 MB / 357 MB, free: 7.723 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003456/0.04595, allocations: 140 kB / 357.1 MB, free: 7.586 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009187/0.04687, allocations: 0.5537 MB / 357.7 MB, free: 7.031 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006641/0.04753, allocations: 0.939 MB / 358.6 MB, free: 6.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007347/0.04826, allocations: 0.6508 MB / 359.3 MB, free: 5.438 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002258/0.05052, allocations: 1.877 MB / 361.1 MB, free: 3.555 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.05053, allocations: 7.938 kB / 361.1 MB, free: 3.547 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.05053, allocations: 0 / 361.1 MB, free: 3.547 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.551e-05/0.05059, allocations: 0 / 361.1 MB, free: 3.547 MB / 330.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.002948/0.05354, allocations: 1.957 MB / 363.1 MB, free: 1.551 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.05358, allocations: 11.98 kB / 363.1 MB, free: 1.539 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.05481, allocations: 420.4 kB / 363.5 MB, free: 1.129 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.05636, allocations: 0.9902 MB / 364.5 MB, free: 100 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.136e-05/0.05643, allocations: 106.7 kB / 364.6 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003496/0.05678, allocations: 215.7 kB / 364.8 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.05824, allocations: 1.287 MB / 366.1 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.143e-05/0.05828, allocations: 11.89 kB / 366.1 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-05/0.05837, allocations: 55.98 kB / 366.2 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003158/0.05868, allocations: 186.6 kB / 366.4 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009177/0.0596, allocations: 0.5728 MB / 366.9 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005776/0.06538, allocations: 6.031 MB / 373 MB, free: 7.223 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008727/0.06625, allocations: 0.7436 MB / 373.7 MB, free: 6.453 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004424/0.06669, allocations: 340.6 kB / 374 MB, free: 6.113 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-05/0.06676, allocations: 21 kB / 374.1 MB, free: 6.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.0668, allocations: 51.5 kB / 374.1 MB, free: 6.031 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 4.158e-06/0.0668, allocations: 0 / 374.1 MB, free: 6.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=137): time 0.00394/0.07074, allocations: 2.419 MB / 376.5 MB, free: 3.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.07079, allocations: 90.42 kB / 376.6 MB, free: 3.484 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005437/0.07133, allocations: 0.8078 MB / 377.4 MB, free: 2.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.716e-05/0.0714, allocations: 53.7 kB / 377.5 MB, free: 2.602 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/0.07169, allocations: 0.6504 MB / 378.1 MB, free: 1.941 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000268/0.07195, allocations: 0.515 MB / 378.7 MB, free: 1.422 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002692/0.07222, allocations: 291.3 kB / 378.9 MB, free: 1.129 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.6e-05/0.07229, allocations: 305.1 kB / 379.2 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.07256, allocations: 218.8 kB / 379.4 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004789/0.07304, allocations: 0.6321 MB / 380.1 MB, free: 15.8 MB / 362.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.001827/0.07487, allocations: 1.791 MB / 381.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.07488, allocations: 4 kB / 381.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.00289/0.07777, allocations: 1.883 MB / 383.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.07779, allocations: 15.98 kB / 383.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/0.07781, allocations: 16 kB / 383.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00239/0.0802, allocations: 1.155 MB / 384.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/0.08084, allocations: 303.5 kB / 385.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008359/0.0892, allocations: 9.704 MB / 394.9 MB, free: 224 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009373/0.09014, allocations: 56.25 kB / 395 MB, free: 168 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.09025, allocations: 63.92 kB / 395.1 MB, free: 104 kB / 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.00057/0.09082, allocations: 230.2 kB / 395.3 MB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.09101, allocations: 119.9 kB / 395.4 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.09213, allocations: 0.8874 MB / 396.3 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.09214, allocations: 12 kB / 396.3 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.09214, allocations: 8 kB / 396.3 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.09215, allocations: 7.969 kB / 396.3 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/0.09456, allocations: 1.73 MB / 398 MB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.09457, allocations: 0 / 398 MB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007865/0.09535, allocations: 291.7 kB / 398.3 MB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003452/0.0957, allocations: 192.2 kB / 398.5 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.707e-05/0.09577, allocations: 43.97 kB / 398.6 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002956/0.09873, allocations: 6.4 MB / 405 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.09873, allocations: 0 / 405 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.1002, allocations: 1.232 MB / 406.2 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003517/0.1005, allocations: 194.9 kB / 406.4 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.1006, allocations: 51.98 kB / 406.4 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/0.101, allocations: 24 kB / 406.5 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.1011, allocations: 97.12 kB / 406.6 MB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.633e-05/0.1012, allocations: 27.98 kB / 406.6 MB, free: 3.902 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003235/0.1015, allocations: 390.2 kB / 407 MB, free: 3.512 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1015, allocations: 0 / 407 MB, free: 3.512 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001388/0.1029, allocations: 0.5077 MB / 407.5 MB, free: 3.004 MB / 378.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.0003295/0.1032, allocations: 157.1 kB / 407.6 MB, free: 2.844 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002123/0.1053, allocations: 1.895 MB / 409.5 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-05/0.1054, allocations: 12.5 kB / 409.5 MB, free: 0.875 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008091/0.1062, allocations: 0.981 MB / 410.5 MB, free: 15.83 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008611/0.107, allocations: 319.3 kB / 410.8 MB, free: 15.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00465/0.1117, allocations: 3.395 MB / 414.2 MB, free: 12.05 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005178/0.1122, allocations: 492.4 kB / 414.7 MB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005768/0.1128, allocations: 183.6 kB / 414.9 MB, free: 11.37 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000524/0.1133, allocations: 321.2 kB / 415.2 MB, free: 11.05 MB / 394.7 MB Notification: Performance of SimCode: time 1.573e-06/0.1133, allocations: 0 / 415.2 MB, free: 11.05 MB / 394.7 MB Notification: Performance of Templates: time 0.03178/0.1451, allocations: 26.91 MB / 442.1 MB, free: 0.5 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.798130108974874]