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.0007571/0.0007571, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003025/0.003025, allocations: 160.2 kB / 24.7 MB, free: 9.418 MB / 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.8343/0.8343, allocations: 177.1 MB / 205 MB, free: 5.719 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.2064/0.2064, allocations: 29.41 MB / 290.8 MB, free: 2.414 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 3.366e-06/3.366e-06, allocations: 3.984 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.75e-05/2.087e-05, allocations: 2.844 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.008024/0.008045, allocations: 10.14 MB / 441.6 MB, free: 2.906 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.167/0.175, allocations: 6.481 MB / 448.1 MB, free: 44.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.1763, allocations: 64 kB / 448.2 MB, free: 44.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01398/0.1902, allocations: 14.36 MB / 462.5 MB, free: 42.08 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002669/0.1929, allocations: 1.159 MB / 463.7 MB, free: 41.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002156/0.1951, allocations: 0.7075 MB / 464.4 MB, free: 41.33 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003944/0.199, allocations: 4.091 MB / 468.5 MB, free: 40.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.2001, allocations: 0.8435 MB / 469.3 MB, free: 39.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001766/0.2018, allocations: 1.439 MB / 470.8 MB, free: 39.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001564/0.2034, allocations: 1.361 MB / 472.1 MB, free: 38.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003797/0.2038, allocations: 148.2 kB / 472.3 MB, free: 38.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009635/0.2048, allocations: 0.5482 MB / 472.8 MB, free: 38.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006349/0.2054, allocations: 0.9533 MB / 473.8 MB, free: 38.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008143/0.2062, allocations: 0.6599 MB / 474.4 MB, free: 38.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003018/0.2092, allocations: 2.546 MB / 477 MB, free: 37.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2092, allocations: 0.6094 kB / 477 MB, free: 37.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2092, allocations: 7.125 kB / 477 MB, free: 37.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.669e-05/0.2093, allocations: 0.75 kB / 477 MB, free: 37.49 MB / 410.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.0044/0.2137, allocations: 2.122 MB / 479.1 MB, free: 36.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.2138, allocations: 12.64 kB / 479.1 MB, free: 36.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.215, allocations: 393.4 kB / 479.5 MB, free: 36.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002155/0.2172, allocations: 1.189 MB / 480.7 MB, free: 35.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.234e-05/0.2172, allocations: 103.9 kB / 480.8 MB, free: 35.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004212/0.2176, allocations: 232.8 kB / 481 MB, free: 35.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002835/0.2205, allocations: 2.151 MB / 483.2 MB, free: 34.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.786e-05/0.2205, allocations: 4.125 kB / 483.2 MB, free: 34.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/0.2207, allocations: 64.23 kB / 483.2 MB, free: 34.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003791/0.2211, allocations: 177.6 kB / 483.4 MB, free: 34.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.2231, allocations: 1.753 MB / 485.2 MB, free: 33.93 MB / 410.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.006549/0.2297, allocations: 7.437 MB / 492.6 MB, free: 29.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.2312, allocations: 1.301 MB / 493.9 MB, free: 28.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008637/0.232, allocations: 0.7446 MB / 494.6 MB, free: 28.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.204e-05/0.2321, allocations: 14.83 kB / 494.7 MB, free: 28.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.2321, allocations: 57.17 kB / 494.7 MB, free: 28.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 2.695e-06/0.2321, allocations: 0 / 494.7 MB, free: 28.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.006352/0.2385, allocations: 4.945 MB / 499.7 MB, free: 26.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.2385, allocations: 91.89 kB / 499.7 MB, free: 26.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007659/0.2393, allocations: 0.9812 MB / 0.489 GB, free: 25.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.406e-05/0.2394, allocations: 51.08 kB / 0.489 GB, free: 25.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000274/0.2396, allocations: 0.7847 MB / 0.4898 GB, free: 25.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/0.2398, allocations: 0.5186 MB / 0.4903 GB, free: 24.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002805/0.2401, allocations: 311.8 kB / 0.4906 GB, free: 24.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.487e-05/0.2401, allocations: 301.1 kB / 0.4909 GB, free: 24.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007032/0.2409, allocations: 0.7264 MB / 0.4916 GB, free: 24.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008042/0.2417, allocations: 1.181 MB / 0.4928 GB, free: 23.11 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.006363/0.248, allocations: 4.917 MB / 0.4976 GB, free: 19.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/0.248, allocations: 4 kB / 0.4976 GB, free: 19.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.003768/0.2518, allocations: 3.331 MB / 0.5008 GB, free: 16.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.2518, allocations: 12 kB / 0.5008 GB, free: 16.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.2518, allocations: 16 kB / 0.5008 GB, free: 16.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001793/0.2536, allocations: 1.246 MB / 0.5021 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005881/0.2542, allocations: 315.5 kB / 0.5024 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01/0.2642, allocations: 15.24 MB / 0.5172 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.2652, allocations: 77.58 kB / 0.5173 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.2653, allocations: 68 kB / 0.5174 GB, free: 15.05 MB / 426.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.0008167/0.2661, allocations: 0.5284 MB / 0.5179 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.2663, allocations: 139.1 kB / 0.518 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/0.2683, allocations: 1.836 MB / 0.5198 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.2683, allocations: 12 kB / 0.5198 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2683, allocations: 7.938 kB / 0.5198 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.2683, allocations: 3.984 kB / 0.5198 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003651/0.272, allocations: 3.163 MB / 0.5229 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.272, allocations: 8.188 kB / 0.5229 GB, free: 9.242 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000812/0.2728, allocations: 327.5 kB / 0.5233 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003129/0.2731, allocations: 200.1 kB / 0.5234 GB, free: 8.711 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.501e-05/0.2732, allocations: 48.84 kB / 0.5235 GB, free: 8.664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0035/0.2767, allocations: 7.293 MB / 0.5306 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2767, allocations: 0 / 0.5306 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00263/0.2793, allocations: 2.521 MB / 0.5331 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004719/0.2798, allocations: 254.9 kB / 0.5333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.2799, allocations: 47.94 kB / 0.5334 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.2803, allocations: 59.94 kB / 0.5334 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.2805, allocations: 105 kB / 0.5335 GB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-05/0.2805, allocations: 39.98 kB / 0.5336 GB, free: 13.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006272/0.2811, allocations: 0.6366 MB / 0.5342 GB, free: 13.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 3e-07/0.2811, allocations: 0 / 0.5342 GB, free: 13.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001407/0.2825, allocations: 0.5078 MB / 0.5347 GB, free: 12.63 MB / 442.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.0003163/0.2829, allocations: 179.7 kB / 0.5348 GB, free: 12.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002988/0.2858, allocations: 2.766 MB / 0.5375 GB, free: 9.617 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2859, allocations: 0 / 0.5375 GB, free: 9.617 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.287, allocations: 1.338 MB / 0.5389 GB, free: 8.215 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000855/0.2878, allocations: 295.3 kB / 0.5391 GB, free: 7.926 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004891/0.2927, allocations: 4.64 MB / 0.5437 GB, free: 3.223 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007354/0.2935, allocations: 0.9563 MB / 0.5446 GB, free: 2.234 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/0.2938, allocations: 116.5 kB / 0.5447 GB, free: 2.121 MB / 442.7 MB Notification: Performance of SimCode: time 1.202e-06/0.2938, allocations: 0 / 0.5447 GB, free: 2.121 MB / 442.7 MB Notification: Performance of Templates: time 0.03907/0.3329, allocations: 52.67 MB / 0.5961 GB, free: 13.43 MB / 0.4948 GB " [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: 8.250998447649181] Failed to read output from testmodel.py, exit status != 0: 0.3388189123943448 0.34578494600000004 0.13491723 Calling exit ...