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.0007751/0.0007751, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001102/0.001877, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007095/0.0007095, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008607/0.00157, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9091/0.9091, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08476/0.9938, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.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.1263/0.1263, allocations: 29.43 MB / 273.4 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1233/0.2496, allocations: 9.513 MB / 282.9 MB, free: 12.84 MB / 282.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.092e-06/1.092e-06, allocations: 0 / 284.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.636e-06/9.728e-06, allocations: 3.188 kB / 284.2 MB, free: 11.9 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.007747/0.007757, allocations: 9.625 MB / 293.8 MB, free: 4.473 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008598/0.01636, allocations: 6.947 MB / 300.8 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000821/0.01718, allocations: 63.5 kB / 300.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0136/0.03077, allocations: 12.9 MB / 313.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.03247, allocations: 1.173 MB / 314.9 MB, free: 8 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.03376, allocations: 0.7052 MB / 315.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004246/0.038, allocations: 4.031 MB / 319.6 MB, free: 11.26 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.03923, allocations: 0.8049 MB / 320.4 MB, free: 10.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002076/0.04131, allocations: 1.661 MB / 322.1 MB, free: 8.762 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00167/0.04297, allocations: 1.254 MB / 323.4 MB, free: 7.504 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002546/0.04323, allocations: 136 kB / 323.5 MB, free: 7.371 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.04424, allocations: 0.5421 MB / 324 MB, free: 6.828 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007133/0.04495, allocations: 0.8651 MB / 324.9 MB, free: 5.961 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009178/0.04587, allocations: 0.5263 MB / 325.4 MB, free: 5.434 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.04783, allocations: 1.736 MB / 327.2 MB, free: 3.691 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.419e-05/0.04785, allocations: 0 / 327.2 MB, free: 3.691 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.04785, allocations: 0 / 327.2 MB, free: 3.691 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.037e-05/0.04789, allocations: 3.938 kB / 327.2 MB, free: 3.688 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.002897/0.05079, allocations: 2.363 MB / 329.5 MB, free: 1.285 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.05082, allocations: 8.031 kB / 329.5 MB, free: 1.277 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.0522, allocations: 493.6 kB / 330 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.05366, allocations: 0.9981 MB / 331 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.199e-05/0.05373, allocations: 106.6 kB / 331.1 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004101/0.05414, allocations: 215.7 kB / 331.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.05589, allocations: 1.291 MB / 332.6 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.552e-05/0.05593, allocations: 7.953 kB / 332.6 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.05604, allocations: 51.98 kB / 332.7 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003857/0.05643, allocations: 186.6 kB / 332.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009069/0.05733, allocations: 0.5298 MB / 333.4 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006364/0.0637, allocations: 6.066 MB / 339.5 MB, free: 6.867 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009857/0.06468, allocations: 0.7175 MB / 340.2 MB, free: 6.129 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005379/0.06522, allocations: 336.6 kB / 340.5 MB, free: 5.797 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.27e-05/0.06528, allocations: 32.97 kB / 340.5 MB, free: 5.766 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.06532, allocations: 59.44 kB / 340.6 MB, free: 5.699 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 3.347e-06/0.06532, allocations: 0 / 340.6 MB, free: 5.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=137): time 0.004351/0.06967, allocations: 2.392 MB / 343 MB, free: 3.281 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.06971, allocations: 94.41 kB / 343.1 MB, free: 3.172 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006232/0.07034, allocations: 0.8078 MB / 343.9 MB, free: 2.348 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.372e-05/0.07041, allocations: 49.69 kB / 343.9 MB, free: 2.293 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000321/0.07073, allocations: 0.6504 MB / 344.6 MB, free: 1.629 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/0.07104, allocations: 0.519 MB / 345.1 MB, free: 1.105 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003426/0.07139, allocations: 295.3 kB / 345.4 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.867e-05/0.07146, allocations: 313 kB / 345.7 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/0.07176, allocations: 175.9 kB / 345.9 MB, free: 340 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000787/0.07255, allocations: 0.636 MB / 346.5 MB, free: 15.51 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.002166/0.07471, allocations: 1.774 MB / 348.3 MB, free: 13.56 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.07472, allocations: 4 kB / 348.3 MB, free: 13.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003497/0.07822, allocations: 1.875 MB / 350.2 MB, free: 11.65 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.07824, allocations: 8 kB / 350.2 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/0.07826, allocations: 16 kB / 350.2 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002859/0.08112, allocations: 1.15 MB / 351.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000942/0.08206, allocations: 363.5 kB / 351.7 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/0.09238, allocations: 9.77 MB / 361.5 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006213/0.093, allocations: 52.03 kB / 361.5 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.09311, allocations: 67.92 kB / 361.6 MB, free: 15.73 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.0003831/0.09349, allocations: 217.4 kB / 361.8 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.09368, allocations: 123.9 kB / 361.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.09498, allocations: 0.8796 MB / 362.8 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.09498, allocations: 12 kB / 362.8 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.09499, allocations: 8 kB / 362.8 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.095, allocations: 7.969 kB / 362.8 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002611/0.09761, allocations: 1.726 MB / 364.5 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.09762, allocations: 0 / 364.5 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/0.09898, allocations: 431.4 kB / 365 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003121/0.09929, allocations: 199 kB / 365.2 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003813/0.09967, allocations: 191.9 kB / 365.4 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.093e-05/0.09976, allocations: 43.97 kB / 365.4 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003258/0.103, allocations: 6.4 MB / 371.8 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.103, allocations: 0 / 371.8 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.1042, allocations: 1.232 MB / 373 MB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.1043, allocations: 39.98 kB / 373.1 MB, free: 3.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002975/0.1046, allocations: 31.98 kB / 373.1 MB, free: 3.539 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.1047, allocations: 109 kB / 373.2 MB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.432e-05/0.1048, allocations: 27.98 kB / 373.2 MB, free: 3.406 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002551/0.105, allocations: 382.2 kB / 373.6 MB, free: 3.023 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.105, allocations: 0 / 373.6 MB, free: 3.023 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001037/0.1061, allocations: 0.5077 MB / 374.1 MB, free: 2.516 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.0002473/0.1063, allocations: 166.1 kB / 374.3 MB, free: 2.344 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002042/0.1084, allocations: 1.906 MB / 376.2 MB, free: 380 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.93e-05/0.1084, allocations: 20.5 kB / 376.2 MB, free: 360 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007271/0.1091, allocations: 0.9855 MB / 377.2 MB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007748/0.1099, allocations: 441.4 kB / 377.6 MB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02025/0.1301, allocations: 3.374 MB / 381 MB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.1306, allocations: 492.4 kB / 381.5 MB, free: 10.94 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006002/0.1312, allocations: 199.9 kB / 381.7 MB, free: 10.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007906/0.132, allocations: 317.2 kB / 382 MB, free: 10.43 MB / 378.7 MB Notification: Performance of SimCode: time 1.643e-06/0.132, allocations: 0 / 382 MB, free: 10.43 MB / 378.7 MB Notification: Performance of Templates: time 0.02924/0.1612, allocations: 27.8 MB / 409.8 MB, free: 14.99 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.2695735124871135]