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.0009762/0.0009762, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009657/0.0009657, allocations: 161 kB / 24.56 MB, free: 20 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 1.016/1.016, allocations: 177.2 MB / 205 MB, free: 5.293 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.2335/0.2335, allocations: 29.41 MB / 290.9 MB, free: 2.406 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 2.305e-06/2.305e-06, allocations: 4 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.893e-05, allocations: 2.312 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.008342/0.008361, allocations: 9.577 MB / 379.2 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007933/0.01629, allocations: 6.856 MB / 386.1 MB, free: 10.49 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006735/0.01697, allocations: 63.5 kB / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01496/0.03193, allocations: 14.07 MB / 400.2 MB, free: 12.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.03359, allocations: 1.142 MB / 401.3 MB, free: 11.19 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.03472, allocations: 0.7131 MB / 402.1 MB, free: 10.47 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004022/0.03874, allocations: 4.109 MB / 406.2 MB, free: 6.355 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/0.03985, allocations: 0.8474 MB / 407 MB, free: 5.488 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/0.04144, allocations: 1.414 MB / 408.4 MB, free: 4.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/0.04277, allocations: 1.383 MB / 409.8 MB, free: 2.684 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001901/0.04296, allocations: 148 kB / 409.9 MB, free: 2.539 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007999/0.04376, allocations: 0.5498 MB / 410.5 MB, free: 1.988 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005912/0.04435, allocations: 0.9547 MB / 411.5 MB, free: 1.031 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008743/0.04523, allocations: 0.6625 MB / 412.1 MB, free: 376 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.04694, allocations: 1.892 MB / 414 MB, free: 14.47 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.04694, allocations: 0 / 414 MB, free: 14.47 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.04694, allocations: 0 / 414 MB, free: 14.47 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.994e-05/0.04696, allocations: 4 kB / 414 MB, free: 14.46 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.002559/0.04952, allocations: 2.26 MB / 416.3 MB, free: 12.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.04956, allocations: 15.98 kB / 416.3 MB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.05074, allocations: 0.5032 MB / 416.8 MB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.05224, allocations: 1.208 MB / 418 MB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.207e-05/0.05231, allocations: 110.6 kB / 418.1 MB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003401/0.05265, allocations: 219.8 kB / 418.3 MB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.05452, allocations: 1.463 MB / 419.8 MB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/0.05455, allocations: 11.95 kB / 419.8 MB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.58e-05/0.05464, allocations: 55.97 kB / 419.9 MB, free: 8.387 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003246/0.05497, allocations: 186.6 kB / 420 MB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.05613, allocations: 0.754 MB / 420.8 MB, free: 7.441 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006494/0.06262, allocations: 7.845 MB / 428.6 MB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.06408, allocations: 0.8504 MB / 429.5 MB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000795/0.06487, allocations: 423.3 kB / 429.9 MB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.862e-05/0.06495, allocations: 24.94 kB / 429.9 MB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.06499, allocations: 50.39 kB / 430 MB, free: 13.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 3.196e-06/0.06499, allocations: 0 / 430 MB, free: 13.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.005324/0.07031, allocations: 3.159 MB / 433.1 MB, free: 10.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.07036, allocations: 94.36 kB / 433.2 MB, free: 10.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008707/0.07123, allocations: 0.9739 MB / 434.2 MB, free: 9.594 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.997e-05/0.0713, allocations: 49.7 kB / 434.2 MB, free: 9.539 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005009/0.0718, allocations: 0.8544 MB / 435.1 MB, free: 8.672 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003595/0.07216, allocations: 0.5347 MB / 435.6 MB, free: 8.133 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003336/0.0725, allocations: 325.1 kB / 435.9 MB, free: 7.805 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.0726, allocations: 480.7 kB / 436.4 MB, free: 7.332 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005055/0.07311, allocations: 295.8 kB / 436.7 MB, free: 7.043 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007635/0.07387, allocations: 0.953 MB / 437.7 MB, free: 5.828 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.003054/0.07693, allocations: 2.318 MB / 440 MB, free: 3.262 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/0.07694, allocations: 4 kB / 440 MB, free: 3.258 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.003875/0.08082, allocations: 2.404 MB / 442.4 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.08084, allocations: 8 kB / 442.4 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.08086, allocations: 16 kB / 442.4 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1676/0.2484, allocations: 1.225 MB / 443.6 MB, free: 89.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.2495, allocations: 315.1 kB / 443.9 MB, free: 89.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/0.2595, allocations: 13.1 MB / 457 MB, free: 79.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009035/0.2604, allocations: 74.25 kB / 457.1 MB, free: 79.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.2605, allocations: 73.09 kB / 457.2 MB, free: 79.93 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: 63 * 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 (155): * Single equations (assignments): 150 * 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.0005133/0.261, allocations: 269.4 kB / 457.4 MB, free: 79.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/0.2612, allocations: 185.5 kB / 457.6 MB, free: 79.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.2627, allocations: 1.164 MB / 458.8 MB, free: 79.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.178e-06/0.2627, allocations: 13.83 kB / 458.8 MB, free: 79.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.2628, allocations: 4.062 kB / 458.8 MB, free: 79.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.2628, allocations: 10.12 kB / 458.8 MB, free: 79.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003273/0.266, allocations: 2.43 MB / 461.3 MB, free: 79.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.266, allocations: 3.344 kB / 461.3 MB, free: 79.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008324/0.2669, allocations: 318.5 kB / 461.6 MB, free: 79.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003334/0.2672, allocations: 182.4 kB / 461.7 MB, free: 79.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.87e-05/0.2673, allocations: 46.39 kB / 461.8 MB, free: 79.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/0.2699, allocations: 9.18 MB / 471 MB, free: 70.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2699, allocations: 3.25 kB / 471 MB, free: 70.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.2718, allocations: 1.607 MB / 472.6 MB, free: 69.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000435/0.2722, allocations: 243.3 kB / 472.8 MB, free: 69.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.2723, allocations: 40.72 kB / 472.9 MB, free: 69.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003983/0.2727, allocations: 60.86 kB / 472.9 MB, free: 69.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.2729, allocations: 98.66 kB / 473 MB, free: 69.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.367e-05/0.273, allocations: 36.75 kB / 473 MB, free: 69.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005009/0.2735, allocations: 0.5569 MB / 473.6 MB, free: 69.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2735, allocations: 0 / 473.6 MB, free: 69.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001497/0.275, allocations: 0.5081 MB / 474.1 MB, free: 69.62 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.0003341/0.2753, allocations: 174 kB / 474.3 MB, free: 69.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002619/0.2779, allocations: 2.406 MB / 476.7 MB, free: 68.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.2779, allocations: 0 / 476.7 MB, free: 68.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009315/0.2789, allocations: 1.346 MB / 478 MB, free: 67.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000821/0.2797, allocations: 292 kB / 478.3 MB, free: 67.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004765/0.2844, allocations: 3.991 MB / 482.3 MB, free: 65.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.2849, allocations: 489.8 kB / 482.8 MB, free: 65.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006787/0.2855, allocations: 364.1 kB / 483.1 MB, free: 65.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.2858, allocations: 101.1 kB / 483.2 MB, free: 65.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.593e-06/0.2858, allocations: 0 / 483.2 MB, free: 65.43 MB / 410.7 MB Notification: Performance of Templates: time 0.033/0.3188, allocations: 25.64 MB / 0.497 GB, free: 61.23 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.964206234086305]