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.001057/0.001057, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001808/0.002865, allocations: 449.8 kB / 10.44 MB, free: 252 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.001133/0.001133, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001602/0.002735, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.008/1.008, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08072/1.089, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.1134/0.1134, allocations: 29.45 MB / 273.6 MB, free: 1.41 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1133/0.2267, allocations: 9.538 MB / 283.1 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_PSGR,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_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,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_PSGR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 284.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162e-05/1.33e-05, allocations: 3.297 kB / 284.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.009052/0.009065, allocations: 9.656 MB / 294.1 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009089/0.01815, allocations: 6.947 MB / 301 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008038/0.01896, allocations: 59.5 kB / 301.1 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01378/0.03274, allocations: 13.22 MB / 314.3 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002126/0.03486, allocations: 1.166 MB / 315.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.03615, allocations: 0.7052 MB / 316.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003117/0.03927, allocations: 4.019 MB / 320.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008549/0.04012, allocations: 0.8127 MB / 321 MB, free: 10.04 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001442/0.04156, allocations: 1.661 MB / 322.7 MB, free: 8.379 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.04273, allocations: 1.254 MB / 323.9 MB, free: 7.121 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.04291, allocations: 140 kB / 324.1 MB, free: 6.984 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008893/0.0438, allocations: 0.5421 MB / 324.6 MB, free: 6.441 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005409/0.04434, allocations: 0.8535 MB / 325.5 MB, free: 5.586 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004742/0.04481, allocations: 0.5302 MB / 326 MB, free: 5.055 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.04637, allocations: 1.729 MB / 327.7 MB, free: 3.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.23e-05/0.04638, allocations: 0 / 327.7 MB, free: 3.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.04638, allocations: 4 kB / 327.7 MB, free: 3.316 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.808e-05/0.04641, allocations: 0 / 327.7 MB, free: 3.316 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.002648/0.04906, allocations: 2.367 MB / 330.1 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.04909, allocations: 12.03 kB / 330.1 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.05016, allocations: 497.5 kB / 330.6 MB, free: 404 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.05133, allocations: 0.9942 MB / 331.6 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.849e-05/0.05139, allocations: 102.7 kB / 331.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003497/0.05174, allocations: 215.7 kB / 331.9 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.05306, allocations: 1.283 MB / 333.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.05309, allocations: 7.953 kB / 333.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-05/0.05318, allocations: 55.98 kB / 333.3 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003203/0.0535, allocations: 194.6 kB / 333.4 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007385/0.05424, allocations: 0.5845 MB / 334 MB, free: 12.79 MB / 330.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(line.v[3,4]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005537/0.05978, allocations: 6.125 MB / 340.2 MB, free: 6.375 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008074/0.06059, allocations: 0.7282 MB / 340.9 MB, free: 5.621 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004432/0.06103, allocations: 348.5 kB / 341.2 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.55e-05/0.06109, allocations: 28.94 kB / 341.3 MB, free: 5.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.06113, allocations: 47.5 kB / 341.3 MB, free: 5.195 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 2.344e-06/0.06113, allocations: 0 / 341.3 MB, free: 5.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=137): time 0.00408/0.06521, allocations: 2.445 MB / 343.7 MB, free: 2.723 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.06525, allocations: 94.42 kB / 343.8 MB, free: 2.613 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005258/0.06578, allocations: 0.8195 MB / 344.7 MB, free: 1.777 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.727e-05/0.06585, allocations: 49.7 kB / 344.7 MB, free: 1.723 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/0.06613, allocations: 0.6467 MB / 345.3 MB, free: 1.062 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000257/0.06638, allocations: 0.519 MB / 345.9 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002828/0.06667, allocations: 299.3 kB / 346.2 MB, free: 248 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.029e-05/0.06676, allocations: 309.1 kB / 346.5 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.06702, allocations: 202.7 kB / 346.7 MB, free: 15.74 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004298/0.06745, allocations: 0.6321 MB / 347.3 MB, free: 14.91 MB / 346.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.001283/0.06873, allocations: 1.467 MB / 348.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/0.06874, allocations: 4 kB / 348.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.002476/0.07122, allocations: 1.61 MB / 350.4 MB, free: 11.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.07124, allocations: 12 kB / 350.4 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.07125, allocations: 12 kB / 350.4 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002568/0.07382, allocations: 1.304 MB / 351.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004924/0.07431, allocations: 299.5 kB / 352 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008542/0.08285, allocations: 9.262 MB / 361.3 MB, free: 364 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006377/0.08349, allocations: 48 kB / 361.3 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-05/0.08357, allocations: 63.92 kB / 361.4 MB, free: 252 kB / 346.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $DER.line.v[2,4] = line.v[1,4] * line.omega[1] $DER.line.v[2,1] = line.v[1,1] * line.omega[1] $DER.line.v[1,4] = (-line.v[2,4]) * line.omega[1]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (134): * Single equations (assignments): 130 * 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,75)} Notification: Performance of prepare postOptimizeDAE: time 0.0003224/0.0839, allocations: 241.7 kB / 361.6 MB, free: 0 / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.08405, allocations: 119.8 kB / 361.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009864/0.08503, allocations: 0.8874 MB / 362.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.08504, allocations: 19.94 kB / 362.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.08505, allocations: 3.984 kB / 362.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.08506, allocations: 3.984 kB / 362.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/0.08713, allocations: 1.726 MB / 364.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.08714, allocations: 0 / 364.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009879/0.08812, allocations: 430.7 kB / 364.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/0.08835, allocations: 183 kB / 365 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002977/0.08865, allocations: 199.9 kB / 365.2 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.78e-05/0.08872, allocations: 47.97 kB / 365.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002607/0.09132, allocations: 6.404 MB / 371.6 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.09132, allocations: 0 / 371.6 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.09253, allocations: 1.235 MB / 372.8 MB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.09265, allocations: 47.98 kB / 372.9 MB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/0.09294, allocations: 24 kB / 372.9 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.09308, allocations: 101 kB / 373 MB, free: 3.926 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.476e-05/0.09312, allocations: 31.98 kB / 373 MB, free: 3.895 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002506/0.09337, allocations: 382.2 kB / 373.4 MB, free: 3.512 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09337, allocations: 7.938 kB / 373.4 MB, free: 3.504 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001029/0.0944, allocations: 0.5468 MB / 374 MB, free: 2.957 MB / 362.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.0003389/0.09474, allocations: 170.7 kB / 374.1 MB, free: 2.781 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002387/0.09713, allocations: 1.84 MB / 376 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.721e-05/0.09717, allocations: 20.5 kB / 376 MB, free: 0.875 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.09818, allocations: 1.063 MB / 377.1 MB, free: 15.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.09999, allocations: 2.582 MB / 379.6 MB, free: 12.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02645/0.1264, allocations: 3.253 MB / 382.9 MB, free: 9.348 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.1269, allocations: 484.5 kB / 383.4 MB, free: 8.848 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005119/0.1274, allocations: 188.1 kB / 383.5 MB, free: 8.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006329/0.128, allocations: 325.1 kB / 383.9 MB, free: 8.344 MB / 378.7 MB Notification: Performance of SimCode: time 9.81e-07/0.128, allocations: 0 / 383.9 MB, free: 8.344 MB / 378.7 MB Notification: Performance of Templates: time 0.03651/0.1645, allocations: 27.24 MB / 411.1 MB, free: 13.47 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 -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.3875817228108644]