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.001162/0.001162, 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.001072/0.001072, allocations: 161 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 1.027/1.027, allocations: 177.1 MB / 205 MB, free: 5.629 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.2599/0.2599, allocations: 29.41 MB / 290.9 MB, free: 2.43 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.[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.814e-06/1.814e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.131e-05, allocations: 2.312 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01157/0.01159, allocations: 9.581 MB / 379.2 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009327/0.02092, allocations: 6.848 MB / 386.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007031/0.02162, allocations: 63.44 kB / 386.1 MB, free: 10.44 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01494/0.03656, allocations: 14.07 MB / 400.2 MB, free: 12.35 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001977/0.03854, allocations: 1.15 MB / 401.3 MB, free: 11.19 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.03994, allocations: 0.7091 MB / 402.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003985/0.04392, allocations: 4.113 MB / 406.2 MB, free: 6.359 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.04519, allocations: 0.8396 MB / 407 MB, free: 5.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.04694, allocations: 1.422 MB / 408.4 MB, free: 4.074 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001706/0.04864, allocations: 1.379 MB / 409.8 MB, free: 2.691 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002776/0.04892, allocations: 144 kB / 409.9 MB, free: 2.551 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009213/0.04984, allocations: 0.5537 MB / 410.5 MB, free: 1.996 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006565/0.0505, allocations: 0.9585 MB / 411.5 MB, free: 1.035 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000582/0.05108, allocations: 0.6664 MB / 412.1 MB, free: 376 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.05282, allocations: 1.884 MB / 414 MB, free: 14.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.05282, allocations: 0 / 414 MB, free: 14.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.05282, allocations: 3.984 kB / 414 MB, free: 14.47 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.158e-05/0.05285, allocations: 0 / 414 MB, free: 14.47 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.00251/0.05536, allocations: 2.264 MB / 416.3 MB, free: 12.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.0554, allocations: 11.98 kB / 416.3 MB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.05658, allocations: 0.5071 MB / 416.8 MB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.0581, allocations: 1.204 MB / 418 MB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.79e-05/0.05816, allocations: 106.6 kB / 418.1 MB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003341/0.05849, allocations: 215.8 kB / 418.3 MB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/0.06008, allocations: 1.467 MB / 419.8 MB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/0.06011, allocations: 15.89 kB / 419.8 MB, free: 8.449 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.284e-05/0.0602, allocations: 55.98 kB / 419.9 MB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003301/0.06053, allocations: 182.6 kB / 420 MB, free: 8.215 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.0617, allocations: 0.7579 MB / 420.8 MB, free: 7.449 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006038/0.06774, allocations: 7.849 MB / 428.6 MB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.06885, allocations: 0.8464 MB / 429.5 MB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006137/0.06946, allocations: 431.2 kB / 429.9 MB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.005e-05/0.06953, allocations: 24.94 kB / 429.9 MB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.06956, allocations: 46.39 kB / 430 MB, free: 13.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 2.374e-06/0.06956, allocations: 0 / 430 MB, free: 13.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.00434/0.0739, allocations: 3.155 MB / 433.1 MB, free: 10.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.07395, allocations: 94.42 kB / 433.2 MB, free: 10.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007506/0.0747, allocations: 0.9779 MB / 434.2 MB, free: 9.602 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.5e-05/0.07477, allocations: 49.7 kB / 434.2 MB, free: 9.547 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000413/0.07518, allocations: 0.8544 MB / 435.1 MB, free: 8.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002824/0.07546, allocations: 0.5308 MB / 435.6 MB, free: 8.145 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000315/0.07578, allocations: 325.1 kB / 435.9 MB, free: 7.816 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.07588, allocations: 480.7 kB / 436.4 MB, free: 7.344 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004455/0.07633, allocations: 299.8 kB / 436.7 MB, free: 7.051 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007158/0.07705, allocations: 0.953 MB / 437.7 MB, free: 5.836 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.002504/0.07955, allocations: 2.322 MB / 440 MB, free: 3.266 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.07956, allocations: 7.984 kB / 440 MB, free: 3.258 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.003527/0.08308, allocations: 2.393 MB / 442.4 MB, free: 0.832 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.08311, allocations: 19.92 kB / 442.4 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.08312, allocations: 12 kB / 442.4 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1789/0.262, allocations: 1.218 MB / 443.6 MB, free: 89.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.2631, allocations: 315.3 kB / 443.9 MB, free: 89.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/0.2741, allocations: 13.09 MB / 457 MB, free: 80.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009653/0.2751, allocations: 77.25 kB / 457.1 MB, free: 80.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.2752, allocations: 73.25 kB / 457.2 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: 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.0004701/0.2757, allocations: 267 kB / 457.4 MB, free: 79.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/0.2759, allocations: 189.9 kB / 457.6 MB, free: 79.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.2776, allocations: 1.168 MB / 458.8 MB, free: 79.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.2776, allocations: 12.53 kB / 458.8 MB, free: 79.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2776, allocations: 3.25 kB / 458.8 MB, free: 79.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.2776, allocations: 6.797 kB / 458.8 MB, free: 79.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003448/0.2811, allocations: 2.437 MB / 461.3 MB, free: 79.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.2811, allocations: 3.906 kB / 461.3 MB, free: 79.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.2822, allocations: 319.8 kB / 461.6 MB, free: 79.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003752/0.2825, allocations: 176.6 kB / 461.7 MB, free: 79.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.47e-05/0.2826, allocations: 43.81 kB / 461.8 MB, free: 79.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002712/0.2853, allocations: 9.178 MB / 471 MB, free: 70.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2853, allocations: 7.688 kB / 471 MB, free: 70.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/0.2874, allocations: 1.604 MB / 472.6 MB, free: 69.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003808/0.2878, allocations: 245.4 kB / 472.8 MB, free: 69.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.2879, allocations: 45.11 kB / 472.9 MB, free: 69.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004824/0.2884, allocations: 59.44 kB / 472.9 MB, free: 69.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.2886, allocations: 99.02 kB / 473 MB, free: 69.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.73e-05/0.2887, allocations: 40.91 kB / 473.1 MB, free: 69.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005195/0.2892, allocations: 0.5551 MB / 473.6 MB, free: 69.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2892, allocations: 3.25 kB / 473.6 MB, free: 69.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001429/0.2906, allocations: 0.5012 MB / 474.1 MB, free: 69.7 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.0003058/0.2909, allocations: 168.9 kB / 474.3 MB, free: 69.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002742/0.2937, allocations: 2.406 MB / 476.7 MB, free: 68.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.2937, allocations: 1.938 kB / 476.7 MB, free: 68.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.2948, allocations: 1.344 MB / 478 MB, free: 67.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.2958, allocations: 298.7 kB / 478.3 MB, free: 67.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005441/0.3013, allocations: 3.993 MB / 482.3 MB, free: 65.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.3017, allocations: 490.5 kB / 482.8 MB, free: 65.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007734/0.3025, allocations: 364.4 kB / 483.1 MB, free: 65.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003018/0.3028, allocations: 112.7 kB / 483.3 MB, free: 65.54 MB / 410.7 MB Notification: Performance of SimCode: time 9.31e-07/0.3028, allocations: 0 / 483.3 MB, free: 65.54 MB / 410.7 MB Notification: Performance of Templates: time 0.0318/0.3346, allocations: 25.63 MB / 0.497 GB, free: 61.41 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: 4.202165130060166]