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.002022/0.002022, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002298/0.002298, allocations: 161.7 kB / 24.27 MB, free: 172 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.482/1.482, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.2992/0.2992, allocations: 29.42 MB / 290.5 MB, free: 2.441 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",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.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.936e-06/2.936e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.298e-05/3.592e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01832/0.01836, allocations: 10.17 MB / 379 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0133/0.03166, allocations: 6.482 MB / 385.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.0328, allocations: 59.5 kB / 385.6 MB, free: 10.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02814/0.06094, allocations: 14.55 MB / 400.1 MB, free: 11.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003367/0.0643, allocations: 1.15 MB / 401.3 MB, free: 10.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002148/0.06645, allocations: 0.7092 MB / 402 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006771/0.07322, allocations: 4.124 MB / 406.1 MB, free: 5.977 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/0.07468, allocations: 0.8357 MB / 407 MB, free: 5.121 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/0.07708, allocations: 1.441 MB / 408.4 MB, free: 3.676 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00229/0.07937, allocations: 1.367 MB / 409.8 MB, free: 2.305 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002799/0.07965, allocations: 148 kB / 409.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/0.08119, allocations: 0.546 MB / 410.5 MB, free: 1.613 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001126/0.08231, allocations: 0.9506 MB / 411.4 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009717/0.08328, allocations: 0.6625 MB / 412.1 MB, free: 15.99 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00341/0.08669, allocations: 2.555 MB / 414.6 MB, free: 13.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.0867, allocations: 0 / 414.6 MB, free: 13.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.0867, allocations: 0 / 414.6 MB, free: 13.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.384e-05/0.08672, allocations: 4 kB / 414.6 MB, free: 13.43 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.00473/0.09145, allocations: 2.115 MB / 416.7 MB, free: 11.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.0915, allocations: 15.98 kB / 416.8 MB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002288/0.09378, allocations: 0.5188 MB / 417.3 MB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003063/0.09685, allocations: 1.256 MB / 418.5 MB, free: 9.438 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.09695, allocations: 98.66 kB / 418.6 MB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006097/0.09756, allocations: 239.7 kB / 418.9 MB, free: 9.105 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0038/0.1014, allocations: 2.153 MB / 421 MB, free: 6.844 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.815e-05/0.1014, allocations: 11.94 kB / 421 MB, free: 6.832 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/0.1016, allocations: 59.92 kB / 421.1 MB, free: 6.773 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006682/0.1022, allocations: 186.6 kB / 421.3 MB, free: 6.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003328/0.1056, allocations: 1.748 MB / 423 MB, free: 4.836 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01404/0.1196, allocations: 7.467 MB / 430.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00292/0.1225, allocations: 1.295 MB / 431.8 MB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.1242, allocations: 0.7581 MB / 432.5 MB, free: 11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-05/0.1243, allocations: 24.94 kB / 432.6 MB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.515e-05/0.1244, allocations: 47.56 kB / 432.6 MB, free: 10.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 3.697e-06/0.1244, allocations: 0 / 432.6 MB, free: 10.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.01238/0.1367, allocations: 4.985 MB / 437.6 MB, free: 5.914 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.95e-05/0.1368, allocations: 94.41 kB / 437.7 MB, free: 5.801 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/0.1384, allocations: 0.9863 MB / 438.7 MB, free: 4.797 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.1385, allocations: 45.7 kB / 438.7 MB, free: 4.746 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.1395, allocations: 0.7893 MB / 439.5 MB, free: 3.945 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006317/0.1402, allocations: 0.519 MB / 440 MB, free: 3.422 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005754/0.1407, allocations: 315.5 kB / 440.3 MB, free: 3.105 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.1409, allocations: 305.1 kB / 440.6 MB, free: 2.805 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.1423, allocations: 0.7183 MB / 441.3 MB, free: 2.086 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.1442, allocations: 1.181 MB / 442.5 MB, free: 0.7148 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.1581/0.3023, allocations: 4.904 MB / 447.4 MB, free: 109.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/0.3024, allocations: 3.188 kB / 447.4 MB, free: 109.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.006579/0.3089, allocations: 3.406 MB / 450.8 MB, free: 108.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.309, allocations: 9.906 kB / 450.9 MB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.788e-05/0.309, allocations: 18.88 kB / 450.9 MB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004887/0.3139, allocations: 1.481 MB / 452.4 MB, free: 107.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.3152, allocations: 321.2 kB / 452.7 MB, free: 107.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01764/0.3328, allocations: 15.34 MB / 468 MB, free: 98.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.3342, allocations: 76.92 kB / 468.1 MB, free: 98.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/0.3344, allocations: 77.83 kB / 468.2 MB, free: 98.45 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.0008789/0.3353, allocations: 0.5127 MB / 468.7 MB, free: 98.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003406/0.3356, allocations: 182.5 kB / 468.8 MB, free: 98.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002848/0.3385, allocations: 1.835 MB / 470.7 MB, free: 97.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/0.3385, allocations: 12.53 kB / 470.7 MB, free: 97.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3385, allocations: 3 kB / 470.7 MB, free: 97.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.3385, allocations: 10.41 kB / 470.7 MB, free: 97.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005484/0.344, allocations: 3.169 MB / 473.9 MB, free: 96.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.344, allocations: 7.062 kB / 473.9 MB, free: 96.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/0.3456, allocations: 315.2 kB / 474.2 MB, free: 96.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006209/0.3462, allocations: 227.2 kB / 474.4 MB, free: 96.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.3463, allocations: 49.17 kB / 474.5 MB, free: 96.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004266/0.3506, allocations: 7.311 MB / 481.8 MB, free: 89.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.3506, allocations: 3.344 kB / 481.8 MB, free: 89.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004068/0.3547, allocations: 2.565 MB / 484.3 MB, free: 88.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000639/0.3553, allocations: 251.6 kB / 484.6 MB, free: 88.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/0.3555, allocations: 46.3 kB / 484.6 MB, free: 88.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007703/0.3563, allocations: 66 kB / 484.7 MB, free: 88.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000263/0.3565, allocations: 99.59 kB / 484.8 MB, free: 88.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.3566, allocations: 38.2 kB / 484.8 MB, free: 88.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00092/0.3575, allocations: 0.6373 MB / 485.5 MB, free: 87.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3575, allocations: 0 / 485.5 MB, free: 87.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002172/0.3597, allocations: 0.5051 MB / 486 MB, free: 87.79 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.0003983/0.3601, allocations: 182.8 kB / 486.1 MB, free: 87.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005116/0.3652, allocations: 2.777 MB / 488.9 MB, free: 86.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.3652, allocations: 0.875 kB / 488.9 MB, free: 86.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001918/0.3672, allocations: 1.331 MB / 490.3 MB, free: 85.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.3687, allocations: 312.3 kB / 490.6 MB, free: 85.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006742/0.3754, allocations: 4.572 MB / 495.1 MB, free: 83.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.3764, allocations: 0.9619 MB / 496.1 MB, free: 82.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001137/0.3776, allocations: 431 kB / 496.5 MB, free: 82.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003576/0.3779, allocations: 106.3 kB / 496.6 MB, free: 82.79 MB / 410.7 MB Notification: Performance of SimCode: time 1.894e-06/0.3779, allocations: 0 / 496.6 MB, free: 82.79 MB / 410.7 MB Notification: Performance of Templates: time 0.03597/0.4139, allocations: 25.45 MB / 0.5098 GB, free: 60.81 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.011602874030359]