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.001174/0.001174, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001258/0.001258, allocations: 165 kB / 24.56 MB, free: 12 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.9485/0.9485, allocations: 177.1 MB / 205 MB, free: 5.609 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.2245/0.2245, allocations: 29.43 MB / 290.9 MB, free: 2.492 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.513e-06/1.513e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.63e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01603/0.01606, allocations: 9.601 MB / 379.2 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02182/0.03788, allocations: 6.841 MB / 386.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.03909, allocations: 59.5 kB / 386.1 MB, free: 10.44 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02756/0.06665, allocations: 14.37 MB / 400.5 MB, free: 12.05 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002677/0.06933, allocations: 1.138 MB / 401.6 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.07073, allocations: 0.7169 MB / 402.4 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004255/0.07498, allocations: 4.116 MB / 406.5 MB, free: 6.059 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.07609, allocations: 0.8435 MB / 407.3 MB, free: 5.195 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/0.0781, allocations: 1.57 MB / 408.9 MB, free: 3.621 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.07961, allocations: 1.293 MB / 410.2 MB, free: 2.324 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002538/0.07987, allocations: 136 kB / 410.3 MB, free: 2.191 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.08094, allocations: 0.5498 MB / 410.9 MB, free: 1.641 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007515/0.08169, allocations: 0.9468 MB / 411.8 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007187/0.08241, allocations: 0.6508 MB / 412.5 MB, free: 40 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.08464, allocations: 1.869 MB / 414.3 MB, free: 14.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.08465, allocations: 0 / 414.3 MB, free: 14.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.08465, allocations: 0 / 414.3 MB, free: 14.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.418e-05/0.08468, allocations: 0 / 414.3 MB, free: 14.16 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.003471/0.08816, allocations: 2.229 MB / 416.6 MB, free: 11.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.0882, allocations: 15.98 kB / 416.6 MB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/0.08979, allocations: 0.5032 MB / 417.1 MB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.0915, allocations: 1.168 MB / 418.3 MB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.251e-05/0.09157, allocations: 102.7 kB / 418.4 MB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004304/0.092, allocations: 215.8 kB / 418.6 MB, free: 9.836 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/0.09411, allocations: 1.467 MB / 420 MB, free: 8.227 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.251e-05/0.09415, allocations: 11.89 kB / 420 MB, free: 8.215 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.09427, allocations: 55.98 kB / 420.1 MB, free: 8.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004266/0.0947, allocations: 186.6 kB / 420.3 MB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.09621, allocations: 0.754 MB / 421 MB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009113/0.1053, allocations: 7.849 MB / 428.9 MB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.1068, allocations: 0.8512 MB / 429.7 MB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007679/0.1075, allocations: 423.3 kB / 430.1 MB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.689e-05/0.1076, allocations: 24.94 kB / 430.2 MB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.1076, allocations: 46.39 kB / 430.2 MB, free: 13.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 5.47e-06/0.1076, allocations: 7.984 kB / 430.2 MB, free: 13.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.005703/0.1133, allocations: 3.155 MB / 433.4 MB, free: 10.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.1134, allocations: 94.42 kB / 433.5 MB, free: 10.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009723/0.1144, allocations: 0.9697 MB / 434.4 MB, free: 9.375 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.654e-05/0.1144, allocations: 49.64 kB / 434.5 MB, free: 9.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005316/0.115, allocations: 0.8544 MB / 435.3 MB, free: 8.453 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006013/0.1156, allocations: 0.5386 MB / 435.9 MB, free: 7.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003868/0.116, allocations: 321.1 kB / 436.2 MB, free: 7.586 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1161, allocations: 484.7 kB / 436.7 MB, free: 7.109 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005451/0.1166, allocations: 295.8 kB / 437 MB, free: 6.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008832/0.1175, allocations: 0.9257 MB / 437.9 MB, free: 5.637 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.003195/0.1207, allocations: 2.299 MB / 440.2 MB, free: 3.098 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/0.1207, allocations: 4 kB / 440.2 MB, free: 3.094 MB / 410.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.005401/0.1261, allocations: 2.384 MB / 442.6 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/0.1261, allocations: 12 kB / 442.6 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.1262, allocations: 12 kB / 442.6 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1612/0.2874, allocations: 1.215 MB / 443.8 MB, free: 89.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008283/0.2882, allocations: 312.6 kB / 444.1 MB, free: 89.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009317/0.2975, allocations: 13.11 MB / 457.2 MB, free: 79.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009021/0.2984, allocations: 75.88 kB / 457.3 MB, free: 79.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.2985, allocations: 71.92 kB / 457.4 MB, free: 79.98 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.0004944/0.299, allocations: 269 kB / 457.6 MB, free: 79.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.2992, allocations: 183.6 kB / 457.8 MB, free: 79.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/0.3006, allocations: 1.161 MB / 459 MB, free: 79.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.3007, allocations: 19.2 kB / 459 MB, free: 79.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3007, allocations: 3.656 kB / 459 MB, free: 79.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.3007, allocations: 10.31 kB / 459 MB, free: 79.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003052/0.3037, allocations: 2.437 MB / 461.4 MB, free: 79.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3037, allocations: 3.844 kB / 461.4 MB, free: 79.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008068/0.3045, allocations: 318.1 kB / 461.8 MB, free: 79.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003286/0.3049, allocations: 179.5 kB / 461.9 MB, free: 79.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-05/0.305, allocations: 46.17 kB / 462 MB, free: 79.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002546/0.3075, allocations: 9.175 MB / 471.2 MB, free: 70.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3075, allocations: 3.391 kB / 471.2 MB, free: 70.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.3093, allocations: 1.61 MB / 472.8 MB, free: 69.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/0.3096, allocations: 241.9 kB / 473 MB, free: 69.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.3097, allocations: 45.47 kB / 473 MB, free: 69.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003728/0.3101, allocations: 59.09 kB / 473.1 MB, free: 69.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.3103, allocations: 101.4 kB / 473.2 MB, free: 69.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.403e-05/0.3103, allocations: 41.48 kB / 473.2 MB, free: 69.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004562/0.3108, allocations: 0.5453 MB / 473.8 MB, free: 69.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3108, allocations: 0 / 473.8 MB, free: 69.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001298/0.3121, allocations: 0.5031 MB / 474.3 MB, free: 69.64 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.0002928/0.3124, allocations: 183.6 kB / 474.5 MB, free: 69.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002255/0.3146, allocations: 2.404 MB / 476.9 MB, free: 68.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3146, allocations: 0 / 476.9 MB, free: 68.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008497/0.3155, allocations: 1.344 MB / 478.2 MB, free: 67.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007587/0.3162, allocations: 292.7 kB / 478.5 MB, free: 67.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00457/0.3208, allocations: 3.949 MB / 482.5 MB, free: 65.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.3212, allocations: 495.2 kB / 482.9 MB, free: 65.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006435/0.3218, allocations: 362.5 kB / 483.3 MB, free: 65.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.3221, allocations: 102.9 kB / 483.4 MB, free: 65.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.262e-06/0.3221, allocations: 0 / 483.4 MB, free: 65.48 MB / 410.7 MB Notification: Performance of Templates: time 0.03356/0.3556, allocations: 26.61 MB / 0.498 GB, free: 60.8 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.962823278270662]