Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.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.0007572/0.0007572, 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.003121/0.003121, allocations: 163.5 kB / 24.7 MB, free: 9.426 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.8712/0.8712, 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 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.2066/0.2066, allocations: 29.41 MB / 290.8 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 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_DFIG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG") translateModel(PowerSystems.Examples.Wind.WindTurbine_DFIG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.505e-05, allocations: 2.281 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.007278/0.007303, allocations: 9.844 MB / 441.3 MB, free: 3.223 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1544/0.1617, allocations: 5.762 MB / 447.1 MB, free: 43.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000701/0.1624, allocations: 68.41 kB / 447.1 MB, free: 43.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006531/0.1689, allocations: 6.057 MB / 453.2 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.1707, allocations: 1.122 MB / 454.3 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.1718, allocations: 0.7055 MB / 455 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002694/0.1745, allocations: 3.325 MB / 458.3 MB, free: 42.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008783/0.1754, allocations: 0.8392 MB / 459.2 MB, free: 41.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.1767, allocations: 1.427 MB / 460.6 MB, free: 41.13 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.1777, allocations: 1.315 MB / 461.9 MB, free: 40.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.1779, allocations: 141.9 kB / 462.1 MB, free: 40.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005885/0.1785, allocations: 443.1 kB / 462.5 MB, free: 40.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004164/0.1789, allocations: 0.9071 MB / 463.4 MB, free: 40.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004973/0.1794, allocations: 0.6483 MB / 464 MB, free: 40.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.181, allocations: 2.316 MB / 466.4 MB, free: 39.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.181, allocations: 0 / 466.4 MB, free: 39.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.181, allocations: 0 / 466.4 MB, free: 39.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.189e-05/0.181, allocations: 0 / 466.4 MB, free: 39.57 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.002224/0.1832, allocations: 2.031 MB / 468.4 MB, free: 38.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1833, allocations: 13.61 kB / 468.4 MB, free: 38.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008855/0.1842, allocations: 336.7 kB / 468.7 MB, free: 38.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.1855, allocations: 1.127 MB / 469.9 MB, free: 37.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.326e-05/0.1855, allocations: 101.8 kB / 470 MB, free: 37.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002941/0.1858, allocations: 231.6 kB / 470.2 MB, free: 37.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.1875, allocations: 2.108 MB / 472.3 MB, free: 36.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.225e-05/0.1876, allocations: 7.047 kB / 472.3 MB, free: 36.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.913e-05/0.1877, allocations: 55.2 kB / 472.4 MB, free: 36.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003015/0.188, allocations: 184 kB / 472.5 MB, free: 36.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/0.1895, allocations: 1.7 MB / 474.2 MB, free: 36.13 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.00545/0.195, allocations: 6.932 MB / 481.2 MB, free: 31.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.1964, allocations: 1.243 MB / 482.4 MB, free: 31.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006297/0.197, allocations: 0.6202 MB / 483 MB, free: 31.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.782e-05/0.1971, allocations: 15.61 kB / 483 MB, free: 31.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.1971, allocations: 45.19 kB / 483.1 MB, free: 31.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 3.406e-06/0.1971, allocations: 0 / 483.1 MB, free: 31.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=138): time 0.005617/0.2027, allocations: 4.526 MB / 487.6 MB, free: 29.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.2028, allocations: 91.52 kB / 487.7 MB, free: 29.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007817/0.2036, allocations: 0.878 MB / 488.6 MB, free: 28.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.279e-05/0.2036, allocations: 50.16 kB / 488.6 MB, free: 28.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/0.2039, allocations: 0.7365 MB / 489.4 MB, free: 28.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.2041, allocations: 0.5208 MB / 489.9 MB, free: 27.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002934/0.2044, allocations: 308.5 kB / 490.2 MB, free: 27.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.366e-05/0.2045, allocations: 302.9 kB / 490.5 MB, free: 27.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007534/0.2052, allocations: 0.7038 MB / 491.2 MB, free: 26.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009/0.2061, allocations: 1.153 MB / 492.3 MB, free: 26.24 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.005678/0.2118, allocations: 4.08 MB / 496.4 MB, free: 24.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.2118, allocations: 4.406 kB / 496.4 MB, free: 24.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.004163/0.216, allocations: 3.24 MB / 499.7 MB, free: 23.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.216, allocations: 12.06 kB / 499.7 MB, free: 23.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.216, allocations: 12.66 kB / 499.7 MB, free: 23.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001792/0.2178, allocations: 1.175 MB / 0.4891 GB, free: 23.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006653/0.2185, allocations: 298.5 kB / 0.4894 GB, free: 23.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/0.2286, allocations: 14.43 MB / 0.5035 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008604/0.2295, allocations: 71.95 kB / 0.5036 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-05/0.2296, allocations: 73.39 kB / 0.5036 GB, free: 12.61 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 $DER.inertia.w = 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: 60 * 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 (146): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,15), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0006511/0.2302, allocations: 0.502 MB / 0.5041 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.2303, allocations: 139.1 kB / 0.5043 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/0.2319, allocations: 1.771 MB / 0.506 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2319, allocations: 16 kB / 0.506 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2319, allocations: 4 kB / 0.506 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.232, allocations: 7.969 kB / 0.506 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003065/0.235, allocations: 3.131 MB / 0.5091 GB, free: 6.941 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.235, allocations: 4.031 kB / 0.5091 GB, free: 6.938 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007754/0.2358, allocations: 323.6 kB / 0.5094 GB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002542/0.2361, allocations: 192.4 kB / 0.5096 GB, free: 6.422 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.378e-05/0.2361, allocations: 51.97 kB / 0.5096 GB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002078/0.2382, allocations: 6.131 MB / 0.5156 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.2382, allocations: 7.938 kB / 0.5156 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002444/0.2406, allocations: 2.48 MB / 0.518 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003973/0.241, allocations: 243 kB / 0.5183 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-05/0.2411, allocations: 47.92 kB / 0.5183 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.2415, allocations: 55.95 kB / 0.5184 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.2416, allocations: 109 kB / 0.5185 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.946e-05/0.2417, allocations: 36 kB / 0.5185 GB, free: 12.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005096/0.2422, allocations: 0.5679 MB / 0.5191 GB, free: 12.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2422, allocations: 4 kB / 0.5191 GB, free: 12.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001303/0.2435, allocations: 488 kB / 0.5195 GB, free: 11.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 26 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],generator.phiRotor,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],inertia.phi,inertia.w,meterDC.pav,inverter2.vDC1) * 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 (129): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,10,100.0%), (1,1,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.0001686/0.2437, allocations: 152.8 kB / 0.5197 GB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003069/0.2467, allocations: 2.621 MB / 0.5222 GB, free: 8.922 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.2467, allocations: 0.5625 kB / 0.5222 GB, free: 8.922 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.2478, allocations: 1.202 MB / 0.5234 GB, free: 7.672 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000835/0.2486, allocations: 300.2 kB / 0.5237 GB, free: 7.379 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004753/0.2534, allocations: 4.517 MB / 0.5281 GB, free: 2.789 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007334/0.2541, allocations: 0.9274 MB / 0.529 GB, free: 1.824 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/0.2544, allocations: 104.5 kB / 0.5291 GB, free: 1.723 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/0.2544, allocations: 4 kB / 0.5291 GB, free: 1.719 MB / 426.7 MB Notification: Performance of Templates: time 0.03087/0.2853, allocations: 43.96 MB / 0.5721 GB, free: 5.746 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.955169759690762] Failed to read output from testmodel.py, exit status != 0: 0.2912760553881526 0.299163569 0.11638498100000001 Calling exit ...