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.001066/0.001066, 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.005336/0.005336, allocations: 160.7 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.8646/0.8646, allocations: 177.2 MB / 205 MB, free: 5.715 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.1952/0.1952, allocations: 29.41 MB / 290.8 MB, free: 2.418 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 1.513e-06/1.513e-06, allocations: 0 / 431.4 MB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/1.989e-05, allocations: 9.938 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.007361/0.007381, allocations: 10.15 MB / 441.6 MB, free: 2.891 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1508/0.1582, allocations: 6.485 MB / 448.1 MB, free: 44.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005743/0.1588, allocations: 63.16 kB / 448.2 MB, free: 44.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0102/0.169, allocations: 14.36 MB / 462.5 MB, free: 42.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.1701, allocations: 1.152 MB / 463.7 MB, free: 41.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007906/0.1709, allocations: 0.7053 MB / 464.4 MB, free: 41.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001976/0.1728, allocations: 4.099 MB / 468.5 MB, free: 40 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005259/0.1734, allocations: 0.8398 MB / 469.3 MB, free: 39.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007448/0.1741, allocations: 1.438 MB / 470.7 MB, free: 39.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007945/0.1749, allocations: 1.363 MB / 472.1 MB, free: 38.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.175, allocations: 144.1 kB / 472.3 MB, free: 38.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004591/0.1755, allocations: 0.5466 MB / 472.8 MB, free: 38.78 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003694/0.1759, allocations: 0.9487 MB / 473.7 MB, free: 38.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003585/0.1762, allocations: 0.6682 MB / 474.4 MB, free: 38.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.1778, allocations: 2.547 MB / 477 MB, free: 37.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1778, allocations: 0 / 477 MB, free: 37.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1778, allocations: 1.25 kB / 477 MB, free: 37.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.1778, allocations: 0 / 477 MB, free: 37.45 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.002265/0.1801, allocations: 2.121 MB / 479.1 MB, free: 36.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.745e-05/0.1801, allocations: 12.86 kB / 479.1 MB, free: 36.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009721/0.1811, allocations: 385.8 kB / 479.5 MB, free: 36.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.1825, allocations: 1.202 MB / 480.7 MB, free: 35.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.887e-05/0.1826, allocations: 97.73 kB / 480.8 MB, free: 35.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003429/0.1829, allocations: 239.4 kB / 481 MB, free: 35.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.1849, allocations: 2.143 MB / 483.1 MB, free: 34.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/0.185, allocations: 8.719 kB / 483.2 MB, free: 34.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.587e-05/0.1851, allocations: 58.67 kB / 483.2 MB, free: 34.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003245/0.1854, allocations: 178.9 kB / 483.4 MB, free: 34.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.1872, allocations: 1.757 MB / 485.1 MB, free: 33.88 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.005686/0.1929, allocations: 7.44 MB / 492.6 MB, free: 29.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.1942, allocations: 1.288 MB / 493.9 MB, free: 28.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008139/0.1951, allocations: 0.7572 MB / 494.6 MB, free: 28.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-05/0.1951, allocations: 17.5 kB / 494.6 MB, free: 28.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.1951, allocations: 45.25 kB / 494.7 MB, free: 28.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 2.584e-06/0.1951, allocations: 0 / 494.7 MB, free: 28.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.00571/0.2008, allocations: 4.953 MB / 499.6 MB, free: 26.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.2009, allocations: 95.73 kB / 499.7 MB, free: 26.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006744/0.2015, allocations: 0.9791 MB / 0.489 GB, free: 25.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.129e-05/0.2016, allocations: 51.05 kB / 0.489 GB, free: 25.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.2019, allocations: 0.7832 MB / 0.4898 GB, free: 25.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.2021, allocations: 0.515 MB / 0.4903 GB, free: 24.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002701/0.2023, allocations: 310.2 kB / 0.4906 GB, free: 24.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.545e-05/0.2024, allocations: 308.8 kB / 0.4909 GB, free: 24.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006668/0.203, allocations: 0.7156 MB / 0.4916 GB, free: 24.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008024/0.2038, allocations: 1.194 MB / 0.4928 GB, free: 23.1 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.005559/0.2094, allocations: 4.918 MB / 0.4976 GB, free: 19.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.2094, allocations: 4 kB / 0.4976 GB, free: 19.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.00342/0.2128, allocations: 3.329 MB / 0.5008 GB, free: 16.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2128, allocations: 12 kB / 0.5008 GB, free: 16.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.2128, allocations: 12 kB / 0.5008 GB, free: 16.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001709/0.2145, allocations: 1.241 MB / 0.502 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005436/0.2151, allocations: 323.5 kB / 0.5024 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009653/0.2247, allocations: 15.23 MB / 0.5172 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006424/0.2254, allocations: 83.95 kB / 0.5173 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.2255, allocations: 79.97 kB / 0.5174 GB, free: 15.04 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.0007251/0.2262, allocations: 0.518 MB / 0.5179 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.2264, allocations: 143.1 kB / 0.518 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/0.2284, allocations: 1.836 MB / 0.5198 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.2284, allocations: 12 kB / 0.5198 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2284, allocations: 4 kB / 0.5198 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.2284, allocations: 7.969 kB / 0.5198 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003626/0.232, allocations: 3.174 MB / 0.5229 GB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.232, allocations: 0 / 0.5229 GB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008042/0.2328, allocations: 319.9 kB / 0.5232 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002926/0.2331, allocations: 204 kB / 0.5234 GB, free: 8.707 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.926e-05/0.2332, allocations: 52.84 kB / 0.5235 GB, free: 8.656 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003389/0.2366, allocations: 7.286 MB / 0.5306 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2366, allocations: 4.031 kB / 0.5306 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/0.239, allocations: 2.513 MB / 0.5331 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003439/0.2393, allocations: 254.9 kB / 0.5333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.2394, allocations: 51.92 kB / 0.5334 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.2398, allocations: 63.94 kB / 0.5334 GB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.2399, allocations: 101.1 kB / 0.5335 GB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.112e-05/0.24, allocations: 39.98 kB / 0.5336 GB, free: 13.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005174/0.2405, allocations: 0.6366 MB / 0.5342 GB, free: 13.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2405, allocations: 0 / 0.5342 GB, free: 13.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001184/0.2417, allocations: 0.5038 MB / 0.5347 GB, free: 12.64 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.0003122/0.242, allocations: 186.3 kB / 0.5348 GB, free: 12.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002667/0.2446, allocations: 2.759 MB / 0.5375 GB, free: 9.621 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2447, allocations: 4 kB / 0.5375 GB, free: 9.617 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.2457, allocations: 1.329 MB / 0.5388 GB, free: 8.223 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007728/0.2465, allocations: 305.8 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.004362/0.2508, allocations: 4.634 MB / 0.5437 GB, free: 3.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007019/0.2516, allocations: 0.9602 MB / 0.5446 GB, free: 2.238 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/0.2518, allocations: 112.5 kB / 0.5447 GB, free: 2.129 MB / 442.7 MB Notification: Performance of SimCode: time 8.22e-07/0.2518, allocations: 0 / 0.5447 GB, free: 2.129 MB / 442.7 MB Notification: Performance of Templates: time 0.04103/0.2929, allocations: 52.67 MB / 0.5961 GB, free: 13.43 MB / 0.4948 GB " [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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.415874761529267] Failed to read output from testmodel.py, exit status != 0: 0.29875380638986826 0.30861557799999995 0.12912369899999995 Calling exit ...