Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.0009818/0.0009818, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001019/0.001019, allocations: 165.4 kB / 24.56 MB, free: 16 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 0.9188/0.9188, allocations: 177.1 MB / 205 MB, free: 5.301 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2448/0.2448, allocations: 29.41 MB / 290.9 MB, free: 2.445 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.836e-05, allocations: 2.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01083/0.01085, allocations: 9.589 MB / 379.2 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009135/0.01998, allocations: 6.841 MB / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.02132, allocations: 63.44 kB / 386.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01606/0.03738, allocations: 14.14 MB / 400.3 MB, free: 12.31 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002824/0.0402, allocations: 1.146 MB / 401.4 MB, free: 11.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.04167, allocations: 0.7092 MB / 402.1 MB, free: 10.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004417/0.04609, allocations: 4.128 MB / 406.2 MB, free: 6.309 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.04731, allocations: 0.8318 MB / 407.1 MB, free: 5.457 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/0.04938, allocations: 1.586 MB / 408.7 MB, free: 3.867 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001607/0.05098, allocations: 1.286 MB / 409.9 MB, free: 2.578 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003871/0.05137, allocations: 140 kB / 410.1 MB, free: 2.441 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.05245, allocations: 0.5498 MB / 410.6 MB, free: 1.891 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007135/0.05316, allocations: 0.9429 MB / 411.6 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008898/0.05405, allocations: 0.6469 MB / 412.2 MB, free: 304 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002384/0.05643, allocations: 1.873 MB / 414.1 MB, free: 14.42 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.05644, allocations: 3.938 kB / 414.1 MB, free: 14.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.05644, allocations: 4 kB / 414.1 MB, free: 14.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.297e-05/0.05653, allocations: 0 / 414.1 MB, free: 14.41 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.003038/0.05956, allocations: 2.228 MB / 416.3 MB, free: 12.13 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/0.05962, allocations: 11.98 kB / 416.3 MB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.06132, allocations: 0.511 MB / 416.9 MB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001878/0.0632, allocations: 1.161 MB / 418 MB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-05/0.06327, allocations: 102.7 kB / 418.1 MB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004357/0.06371, allocations: 215.8 kB / 418.3 MB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/0.06595, allocations: 1.467 MB / 419.8 MB, free: 8.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.294e-05/0.06599, allocations: 7.891 kB / 419.8 MB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.06611, allocations: 59.98 kB / 419.9 MB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004499/0.06656, allocations: 182.6 kB / 420 MB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/0.06836, allocations: 0.7618 MB / 420.8 MB, free: 7.465 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008999/0.07735, allocations: 7.849 MB / 428.6 MB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.07889, allocations: 0.8386 MB / 429.5 MB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008116/0.07971, allocations: 427.2 kB / 429.9 MB, free: 14.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.036e-05/0.07978, allocations: 24.94 kB / 429.9 MB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.07982, allocations: 54.38 kB / 430 MB, free: 13.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 3.908e-06/0.07982, allocations: 0 / 430 MB, free: 13.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.006329/0.08615, allocations: 3.159 MB / 433.1 MB, free: 10.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.08621, allocations: 94.42 kB / 433.2 MB, free: 10.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.08726, allocations: 0.9696 MB / 434.2 MB, free: 9.625 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.951e-05/0.08734, allocations: 49.7 kB / 434.3 MB, free: 9.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005418/0.08788, allocations: 0.8506 MB / 435.1 MB, free: 8.707 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004046/0.08829, allocations: 0.5347 MB / 435.6 MB, free: 8.168 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004031/0.08869, allocations: 317.1 kB / 435.9 MB, free: 7.848 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.08881, allocations: 480.7 kB / 436.4 MB, free: 7.375 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005914/0.0894, allocations: 299.8 kB / 436.7 MB, free: 7.082 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009186/0.09032, allocations: 0.9412 MB / 437.6 MB, free: 5.883 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.003566/0.09389, allocations: 2.291 MB / 439.9 MB, free: 3.352 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/0.0939, allocations: 8 kB / 439.9 MB, free: 3.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004813/0.09871, allocations: 2.393 MB / 442.3 MB, free: 0.918 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.09874, allocations: 12 kB / 442.4 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/0.09877, allocations: 12 kB / 442.4 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1974/0.2962, allocations: 1.22 MB / 443.6 MB, free: 89.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008418/0.297, allocations: 306.8 kB / 443.9 MB, free: 89.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009078/0.3061, allocations: 13.1 MB / 457 MB, free: 80.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008137/0.3069, allocations: 71.92 kB / 457.1 MB, free: 80.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.835e-05/0.307, allocations: 71.78 kB / 457.1 MB, free: 80.02 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: 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.0004756/0.3075, allocations: 274.1 kB / 457.4 MB, free: 79.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.3077, allocations: 184.3 kB / 457.6 MB, free: 79.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.309, allocations: 1.16 MB / 458.7 MB, free: 79.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.309, allocations: 15.72 kB / 458.8 MB, free: 79.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.309, allocations: 3.25 kB / 458.8 MB, free: 79.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.309, allocations: 9.922 kB / 458.8 MB, free: 79.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002827/0.3119, allocations: 2.437 MB / 461.2 MB, free: 79.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3119, allocations: 0 / 461.2 MB, free: 79.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008276/0.3127, allocations: 322.8 kB / 461.5 MB, free: 79.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003124/0.313, allocations: 178 kB / 461.7 MB, free: 79.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.054e-05/0.3131, allocations: 46.69 kB / 461.7 MB, free: 79.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002292/0.3154, allocations: 9.179 MB / 470.9 MB, free: 70.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3154, allocations: 6.906 kB / 470.9 MB, free: 70.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.3171, allocations: 1.606 MB / 472.5 MB, free: 69.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/0.3174, allocations: 236.2 kB / 472.8 MB, free: 69.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.3175, allocations: 43.59 kB / 472.8 MB, free: 69.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.3179, allocations: 59.42 kB / 472.9 MB, free: 69.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.318, allocations: 101.8 kB / 473 MB, free: 69.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.296e-05/0.3181, allocations: 42.95 kB / 473 MB, free: 69.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004182/0.3185, allocations: 0.5445 MB / 473.5 MB, free: 69.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3185, allocations: 0 / 473.5 MB, free: 69.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001263/0.3197, allocations: 0.5067 MB / 474.1 MB, free: 69.69 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.0003222/0.3201, allocations: 181 kB / 474.2 MB, free: 69.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002365/0.3224, allocations: 2.401 MB / 476.6 MB, free: 68.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3224, allocations: 0 / 476.6 MB, free: 68.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008256/0.3233, allocations: 1.343 MB / 478 MB, free: 67.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007633/0.324, allocations: 296.1 kB / 478.3 MB, free: 67.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004356/0.3284, allocations: 3.947 MB / 482.2 MB, free: 65.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.3287, allocations: 498.1 kB / 482.7 MB, free: 65.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006011/0.3293, allocations: 362.3 kB / 483 MB, free: 65.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/0.3296, allocations: 103.4 kB / 483.1 MB, free: 65.54 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.3296, allocations: 0 / 483.1 MB, free: 65.54 MB / 410.7 MB Notification: Performance of Templates: time 0.03266/0.3622, allocations: 26.61 MB / 0.4978 GB, free: 60.93 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.769376404117793]