Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001032/0.001032, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001349/0.002381, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001075/0.001075, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001292/0.002367, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.8953/0.8953, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07754/0.9728, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1153/0.1153, allocations: 29.44 MB / 273.4 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1411/0.2564, allocations: 9.535 MB / 283 MB, free: 12.84 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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_DFIG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG") translateModel(PowerSystems.Examples.Wind.WindTurbine_DFIG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.403e-05, allocations: 2.969 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.00938/0.009404, allocations: 9.316 MB / 293.5 MB, free: 4.738 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009305/0.01871, allocations: 6.139 MB / 299.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.01976, allocations: 63.5 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00972/0.02948, allocations: 5.519 MB / 305.3 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002885/0.03236, allocations: 1.138 MB / 306.4 MB, free: 8.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.03402, allocations: 0.6936 MB / 307.1 MB, free: 7.895 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00398/0.038, allocations: 3.306 MB / 310.4 MB, free: 4.578 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.03927, allocations: 0.8125 MB / 311.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002847/0.04212, allocations: 1.62 MB / 312.8 MB, free: 2.113 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001651/0.04377, allocations: 1.2 MB / 314 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002724/0.04404, allocations: 136 kB / 314.2 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008957/0.04494, allocations: 455.2 kB / 314.6 MB, free: 336 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000768/0.04571, allocations: 0.8106 MB / 315.4 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008556/0.04656, allocations: 0.5107 MB / 315.9 MB, free: 15 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002242/0.04881, allocations: 1.542 MB / 317.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.622e-05/0.04882, allocations: 0 / 317.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.04882, allocations: 0 / 317.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.388e-05/0.04889, allocations: 4 kB / 317.5 MB, free: 13.45 MB / 314.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.003366/0.05225, allocations: 2.265 MB / 319.7 MB, free: 11.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.05229, allocations: 8.031 kB / 319.8 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/0.0539, allocations: 453.5 kB / 320.2 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.0554, allocations: 0.9398 MB / 321.1 MB, free: 9.699 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.998e-05/0.05547, allocations: 102.6 kB / 321.2 MB, free: 9.598 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003839/0.05586, allocations: 211.8 kB / 321.4 MB, free: 9.391 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.05742, allocations: 1.256 MB / 322.7 MB, free: 8.027 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/0.05746, allocations: 7.953 kB / 322.7 MB, free: 8.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.05757, allocations: 59.97 kB / 322.8 MB, free: 7.961 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004007/0.05797, allocations: 182.7 kB / 322.9 MB, free: 7.781 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008943/0.05886, allocations: 0.5064 MB / 323.4 MB, free: 7.262 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006877/0.06574, allocations: 5.605 MB / 329.1 MB, free: 1.402 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.06676, allocations: 0.7024 MB / 329.8 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003182/0.06708, allocations: 223.5 kB / 330 MB, free: 472 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.361e-05/0.06715, allocations: 25 kB / 330 MB, free: 448 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.06718, allocations: 47.5 kB / 330 MB, free: 392 kB / 314.7 MB Notification: Performance of pre-optimization done (n=127): time 5.33e-06/0.06719, allocations: 0 / 330 MB, free: 392 kB / 314.7 MB Notification: Performance of matching and sorting (n=138): time 0.004406/0.07159, allocations: 2.216 MB / 332.3 MB, free: 14.13 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.07164, allocations: 94.42 kB / 332.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005789/0.07222, allocations: 0.7332 MB / 333.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.227e-05/0.07229, allocations: 53.7 kB / 333.1 MB, free: 13.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/0.07261, allocations: 0.6194 MB / 333.8 MB, free: 12.58 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000577/0.07319, allocations: 0.5189 MB / 334.3 MB, free: 12.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003431/0.07353, allocations: 283.4 kB / 334.6 MB, free: 11.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.266e-05/0.0736, allocations: 313.1 kB / 334.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/0.07391, allocations: 179.9 kB / 335 MB, free: 11.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005429/0.07446, allocations: 0.614 MB / 335.7 MB, free: 10.5 MB / 330.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.001598/0.07605, allocations: 1.469 MB / 337.1 MB, free: 8.859 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.07606, allocations: 4 kB / 337.1 MB, free: 8.855 MB / 330.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.00284/0.0789, allocations: 1.774 MB / 338.9 MB, free: 7.055 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.07893, allocations: 12.72 kB / 338.9 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.07895, allocations: 16 kB / 338.9 MB, free: 7.027 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001639/0.08059, allocations: 0.9547 MB / 339.9 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007483/0.08133, allocations: 343.5 kB / 340.2 MB, free: 5.723 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00828/0.08961, allocations: 8.762 MB / 349 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007116/0.09033, allocations: 44 kB / 349 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.818e-05/0.09041, allocations: 59.98 kB / 349.1 MB, free: 12.48 MB / 346.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: 58 * 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 (144): * Single equations (assignments): 140 * 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.0004597/0.09087, allocations: 239.9 kB / 349.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.09104, allocations: 119.9 kB / 349.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.09208, allocations: 0.8579 MB / 350.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.09209, allocations: 16 kB / 350.3 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.0921, allocations: 4 kB / 350.3 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.09211, allocations: 3.984 kB / 350.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0023/0.09441, allocations: 1.802 MB / 352.1 MB, free: 9.328 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.09441, allocations: 7.984 kB / 352.1 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.09547, allocations: 419.4 kB / 352.5 MB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000284/0.09575, allocations: 183.1 kB / 352.7 MB, free: 8.738 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003103/0.09606, allocations: 166.8 kB / 352.9 MB, free: 8.559 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.634e-05/0.09613, allocations: 47.91 kB / 352.9 MB, free: 8.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002745/0.09887, allocations: 5.291 MB / 358.2 MB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.09888, allocations: 7.938 kB / 358.2 MB, free: 2.816 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.1003, allocations: 1.256 MB / 359.5 MB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.1004, allocations: 43.92 kB / 359.5 MB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.1007, allocations: 31.98 kB / 359.5 MB, free: 1.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.1009, allocations: 109.1 kB / 359.7 MB, free: 1.301 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.112e-05/0.1009, allocations: 35.94 kB / 359.7 MB, free: 1.266 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003035/0.1012, allocations: 343.3 kB / 360 MB, free: 0.918 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-08/0.1012, allocations: 0 / 360 MB, free: 0.918 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001402/0.1026, allocations: 492 kB / 360.5 MB, free: 448 kB / 346.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.000184/0.1028, allocations: 137.7 kB / 360.6 MB, free: 304 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0024/0.1052, allocations: 1.788 MB / 362.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-05/0.1053, allocations: 21 kB / 362.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007475/0.106, allocations: 0.869 MB / 363.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008747/0.1069, allocations: 422.4 kB / 363.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02174/0.1286, allocations: 3.333 MB / 367.1 MB, free: 9.684 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/0.1291, allocations: 476.2 kB / 367.5 MB, free: 9.195 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006674/0.1298, allocations: 187.3 kB / 367.7 MB, free: 9.008 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005209/0.1303, allocations: 309.1 kB / 368 MB, free: 8.707 MB / 362.7 MB Notification: Performance of SimCode: time 1.893e-06/0.1303, allocations: 4 kB / 368 MB, free: 8.703 MB / 362.7 MB Notification: Performance of Templates: time 0.031/0.1613, allocations: 25.33 MB / 393.3 MB, free: 15.74 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.3026772495359182]