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.001036/0.001036, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001018/0.001018, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.9214/0.9214, allocations: 177.1 MB / 206 MB, free: 4.5 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.1738/0.1738, allocations: 29.43 MB / 292 MB, free: 2.652 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[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="Time|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.563e-06/1.563e-06, allocations: 0 / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.32e-05, allocations: 6.312 kB / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.00749/0.007513, allocations: 9.482 MB / 380.4 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007692/0.0152, allocations: 6.775 MB / 387.1 MB, free: 16.04 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.01625, allocations: 59.5 kB / 387.2 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0156/0.03185, allocations: 14.41 MB / 401.6 MB, free: 1.543 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.03372, allocations: 1.138 MB / 402.7 MB, free: 408 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.03504, allocations: 0.7248 MB / 403.5 MB, free: 15.67 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003353/0.0384, allocations: 4.112 MB / 407.6 MB, free: 11.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008357/0.03923, allocations: 0.8396 MB / 408.4 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/0.04056, allocations: 1.57 MB / 410 MB, free: 9.109 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.04166, allocations: 1.289 MB / 411.3 MB, free: 7.816 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.04181, allocations: 140 kB / 411.4 MB, free: 7.68 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006923/0.0425, allocations: 0.5537 MB / 412 MB, free: 7.125 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.04353, allocations: 0.939 MB / 412.9 MB, free: 6.184 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008595/0.04439, allocations: 0.6547 MB / 413.6 MB, free: 5.527 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002167/0.04656, allocations: 1.873 MB / 415.4 MB, free: 3.648 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.04656, allocations: 0 / 415.4 MB, free: 3.648 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.04656, allocations: 4 kB / 415.4 MB, free: 3.645 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.845e-05/0.0466, allocations: 0 / 415.4 MB, free: 3.645 MB / 330.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.002726/0.04933, allocations: 2.158 MB / 417.6 MB, free: 1.434 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.04937, allocations: 12.03 kB / 417.6 MB, free: 1.422 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/0.05063, allocations: 483.3 kB / 418.1 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.05205, allocations: 1.11 MB / 419.2 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.835e-05/0.05211, allocations: 98.58 kB / 419.3 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003593/0.05246, allocations: 227.7 kB / 419.5 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.05399, allocations: 1.33 MB / 420.8 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.906e-05/0.05403, allocations: 7.938 kB / 420.8 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-05/0.05412, allocations: 59.97 kB / 420.9 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003596/0.05448, allocations: 186.6 kB / 421.1 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008896/0.05537, allocations: 0.6116 MB / 421.7 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006668/0.06204, allocations: 7.696 MB / 429.4 MB, free: 5.105 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009592/0.063, allocations: 0.763 MB / 430.2 MB, free: 4.324 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000495/0.0635, allocations: 370.1 kB / 430.5 MB, free: 3.953 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.139e-05/0.06356, allocations: 24.94 kB / 430.5 MB, free: 3.926 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.06359, allocations: 46.39 kB / 430.6 MB, free: 3.871 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 5.03e-06/0.06359, allocations: 7.984 kB / 430.6 MB, free: 3.863 MB / 346.7 MB Notification: Performance of matching and sorting (n=137): time 0.004242/0.06784, allocations: 2.483 MB / 433.1 MB, free: 1.352 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.06789, allocations: 94.41 kB / 433.2 MB, free: 1.242 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009002/0.06879, allocations: 0.9535 MB / 434.1 MB, free: 276 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.83e-05/0.06887, allocations: 49.7 kB / 434.2 MB, free: 220 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000557/0.06942, allocations: 0.866 MB / 435 MB, free: 15.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003962/0.06982, allocations: 0.5424 MB / 435.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004121/0.07023, allocations: 333 kB / 435.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.07036, allocations: 480.7 kB / 436.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.07075, allocations: 207.8 kB / 436.6 MB, free: 13.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007669/0.07151, allocations: 0.859 MB / 437.4 MB, free: 12.67 MB / 362.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.002634/0.07415, allocations: 2.01 MB / 439.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/0.07416, allocations: 4 kB / 439.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004371/0.07853, allocations: 2.173 MB / 441.6 MB, free: 8.207 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.07856, allocations: 8 kB / 441.6 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/0.07858, allocations: 16 kB / 441.6 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003263/0.08185, allocations: 1.175 MB / 442.8 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008614/0.08271, allocations: 311.5 kB / 443.1 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01229/0.095, allocations: 12.72 MB / 455.8 MB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.09605, allocations: 55.94 kB / 455.9 MB, free: 9.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.09618, allocations: 56 kB / 456 MB, free: 9.285 MB / 378.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: 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 (153): * Single equations (assignments): 148 * 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.0005674/0.09675, allocations: 276.1 kB / 456.2 MB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/0.09701, allocations: 183 kB / 456.4 MB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.09864, allocations: 1.053 MB / 457.5 MB, free: 7.742 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.09865, allocations: 12 kB / 457.5 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.09866, allocations: 7.938 kB / 457.5 MB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.09867, allocations: 3.984 kB / 457.5 MB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003403/0.1021, allocations: 2.05 MB / 459.5 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/0.1021, allocations: 4 kB / 459.5 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.1032, allocations: 299.9 kB / 459.8 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004488/0.1036, allocations: 170 kB / 460 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/0.1038, allocations: 51.97 kB / 460 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004657/0.1084, allocations: 9.044 MB / 469.1 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1084, allocations: 0 / 469.1 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/0.1109, allocations: 1.463 MB / 470.6 MB, free: 9.887 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005967/0.1115, allocations: 218.9 kB / 470.8 MB, free: 9.672 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/0.1117, allocations: 43.97 kB / 470.8 MB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005523/0.1122, allocations: 32 kB / 470.8 MB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/0.1124, allocations: 101.1 kB / 470.9 MB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-05/0.1125, allocations: 27.98 kB / 471 MB, free: 9.473 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000514/0.113, allocations: 0.5191 MB / 471.5 MB, free: 8.945 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.113, allocations: 4 kB / 471.5 MB, free: 8.941 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001671/0.1147, allocations: 0.5038 MB / 472 MB, free: 8.438 MB / 394.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.0003478/0.115, allocations: 181.6 kB / 472.2 MB, free: 8.254 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003327/0.1183, allocations: 2.26 MB / 474.4 MB, free: 5.902 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.1183, allocations: 0 / 474.4 MB, free: 5.902 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.1196, allocations: 1.29 MB / 475.7 MB, free: 4.523 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.1208, allocations: 296 kB / 476 MB, free: 4.242 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006317/0.1271, allocations: 3.938 MB / 479.9 MB, free: 228 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/0.1276, allocations: 488.4 kB / 480.4 MB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006915/0.1283, allocations: 187.6 kB / 480.6 MB, free: 15.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006544/0.129, allocations: 362 kB / 481 MB, free: 15.17 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/0.129, allocations: 0 / 481 MB, free: 15.17 MB / 410.7 MB Notification: Performance of Templates: time 0.1779/0.3069, allocations: 27.55 MB / 0.4966 GB, free: 103.3 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 -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.9810816636309028]