Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.PowerWorld.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.001045/0.001045, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001753/0.002798, 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.001159/0.001159, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001598/0.002758, 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 0.9952/0.9952, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1187/1.114, allocations: 53.65 MB / 243.4 MB, free: 15.51 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.1144/0.1144, allocations: 29.45 MB / 273.6 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.12/0.2344, allocations: 9.535 MB / 283.1 MB, free: 12.83 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.PowerWorld.PowerWorld,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="city.MW2W.u|dispatcher.hydroBase.y|dispatcher.hydroDaily.y|dispatcher.loadForcast|dispatcher.secondaryControl.y|dispatcher.windForcast|frequency.y|hydroPlant.P_control|hydroPlant.P_generator|hydroPlant.primaryControl.y|hydroPlant.reservoirLevel.y|powerPlant.P_control|powerPlant.P_generator|powerPlant.hotwellLevel.y|powerPlant.pressureLoss.y|powerPlant.primaryControl.y|powerPlant.throttleReserve.y|time|windFarm.MW2W.u",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.PowerWorld") translateModel(PowerSystems.Examples.PowerWorld.PowerWorld,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="city.MW2W.u|dispatcher.hydroBase.y|dispatcher.hydroDaily.y|dispatcher.loadForcast|dispatcher.secondaryControl.y|dispatcher.windForcast|frequency.y|hydroPlant.P_control|hydroPlant.P_generator|hydroPlant.primaryControl.y|hydroPlant.reservoirLevel.y|powerPlant.P_control|powerPlant.P_generator|powerPlant.hotwellLevel.y|powerPlant.pressureLoss.y|powerPlant.primaryControl.y|powerPlant.throttleReserve.y|time|windFarm.MW2W.u",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.PowerWorld") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 284.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.172e-05, allocations: 2.312 kB / 284.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.PowerWorld): time 0.009794/0.009816, allocations: 11.73 MB / 296.2 MB, free: 2.902 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009739/0.01955, allocations: 6.483 MB / 302.6 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002078/0.02163, allocations: 83.44 kB / 302.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002213/0.02385, allocations: 1.263 MB / 304 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004412/0.02826, allocations: 1.787 MB / 305.8 MB, free: 9.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002968/0.03122, allocations: 1.508 MB / 307.3 MB, free: 7.809 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004399/0.03562, allocations: 4.024 MB / 311.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002439/0.03806, allocations: 1.722 MB / 313 MB, free: 1.984 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003332/0.0414, allocations: 2.421 MB / 315.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.04309, allocations: 1.461 MB / 316.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004387/0.04353, allocations: 296 kB / 317.2 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00239/0.04592, allocations: 1.566 MB / 318.8 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007303/0.04665, allocations: 0.9157 MB / 319.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009901/0.04764, allocations: 0.7405 MB / 320.4 MB, free: 10.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003618/0.05126, allocations: 2.721 MB / 323.1 MB, free: 7.785 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.424e-05/0.05127, allocations: 0 / 323.1 MB, free: 7.785 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.05127, allocations: 4 kB / 323.1 MB, free: 7.781 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.703e-05/0.05131, allocations: 0 / 323.1 MB, free: 7.781 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: 512 * Number of variables: 512 Notification: Performance of Generate backend data structure: time 0.003752/0.05506, allocations: 3.716 MB / 326.9 MB, free: 4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.0551, allocations: 8.031 kB / 326.9 MB, free: 3.992 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002803/0.0579, allocations: 0.9341 MB / 327.8 MB, free: 3.039 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.05952, allocations: 1.185 MB / 329 MB, free: 1.816 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.814e-05/0.05961, allocations: 156.2 kB / 329.1 MB, free: 1.664 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002277/0.05984, allocations: 208.3 kB / 329.3 MB, free: 1.461 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.06178, allocations: 1.906 MB / 331.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.348e-05/0.06183, allocations: 19.88 kB / 331.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.06195, allocations: 87.97 kB / 331.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.294e-05/0.06204, allocations: 107.8 kB / 331.5 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.06326, allocations: 0.92 MB / 332.4 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006882/0.07014, allocations: 5.928 MB / 338.3 MB, free: 8.141 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.07186, allocations: 1.444 MB / 339.8 MB, free: 6.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004326/0.07229, allocations: 378.5 kB / 340.1 MB, free: 6.305 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.651e-05/0.07236, allocations: 42 kB / 340.2 MB, free: 6.266 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008329/0.0732, allocations: 0.7637 MB / 340.9 MB, free: 5.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=218): time 5.971e-06/0.0732, allocations: 7.938 kB / 340.9 MB, free: 5.473 MB / 330.7 MB Notification: Performance of matching and sorting (n=229): time 0.006868/0.08007, allocations: 4.261 MB / 345.2 MB, free: 1.164 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.08013, allocations: 111.1 kB / 345.3 MB, free: 1.039 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009603/0.08109, allocations: 1.227 MB / 346.5 MB, free: 15.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.0812, allocations: 77.7 kB / 346.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003564/0.08155, allocations: 0.6922 MB / 347.3 MB, free: 15.01 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000393/0.08195, allocations: 0.8056 MB / 348.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005878/0.08253, allocations: 363.8 kB / 348.5 MB, free: 13.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.788e-05/0.0826, allocations: 305.1 kB / 348.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004022/0.083, allocations: 324.1 kB / 349.1 MB, free: 13.2 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006122/0.08362, allocations: 0.8793 MB / 350 MB, free: 12.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.08463, allocations: 1.056 MB / 351 MB, free: 10.96 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.08463, allocations: 8 kB / 351 MB, free: 10.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.001517/0.08615, allocations: 1.319 MB / 352.3 MB, free: 9.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.583e-05/0.08621, allocations: 76.92 kB / 352.4 MB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.08622, allocations: 4 kB / 352.4 MB, free: 9.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005345/0.08675, allocations: 279.7 kB / 352.7 MB, free: 9.223 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.08798, allocations: 0.5617 MB / 353.3 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003055/0.09104, allocations: 3.567 MB / 356.8 MB, free: 4.922 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008651/0.0919, allocations: 103.9 kB / 356.9 MB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.09201, allocations: 59.97 kB / 357 MB, free: 4.762 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008152/0.09282, allocations: 441.6 kB / 357.4 MB, free: 4.309 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006516/0.09348, allocations: 0.8792 MB / 358.3 MB, free: 3.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001064/0.09454, allocations: 1.05 MB / 359.3 MB, free: 2.074 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.61e-06/0.09455, allocations: 0 / 359.3 MB, free: 2.074 MB / 346.7 MB Notification: Performance of matching and sorting (n=276) (initialization_lambda0): time 0.001613/0.09616, allocations: 1.327 MB / 360.7 MB, free: 0.707 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/0.0962, allocations: 67.39 kB / 360.7 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.09621, allocations: 12.03 kB / 360.7 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004721/0.09668, allocations: 259.6 kB / 361 MB, free: 368 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.09785, allocations: 0.5586 MB / 361.6 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002774/0.1006, allocations: 3.559 MB / 365.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007838/0.1014, allocations: 103.8 kB / 365.2 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.1015, allocations: 67.97 kB / 365.3 MB, free: 11.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.windFarm.wind.nextTimeEvent,$whenCondition5,$PRE.city.data.nextTimeEvent,$whenCondition3,$PRE.dispatcher.data.nextTimeEvent,$whenCondition2,system.initime,dispatcher.hydroDaily.count,$PRE.dispatcher.hydroDaily.count,dispatcher.hydroDaily.T_start,$PRE.dispatcher.hydroDaily.T_start,dispatcher.data.nextTimeEventScaled,$PRE.dispatcher.data.nextTimeEventScaled,dispatcher.data.nextTimeEvent,city.data.nextTimeEventScaled,$PRE.city.data.nextTimeEventScaled,city.data.nextTimeEvent,windFarm.disturbance.count,$PRE.windFarm.disturbance.count,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.T_start,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEvent,$whenCondition1,$whenCondition4,$whenCondition6,hydroPlant.reservoirLevel.local_reset,powerPlant.throttleCosts.local_reset,powerPlant.hotwellLevel.local_reset,dispatcher.secondaryControl.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (251): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000447/0.102, allocations: 323.8 kB / 365.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002811/0.1022, allocations: 203.8 kB / 365.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002112/0.1044, allocations: 1.556 MB / 367.4 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.1044, allocations: 28 kB / 367.4 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1044, allocations: 0 / 367.4 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/0.1044, allocations: 11.95 kB / 367.4 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004125/0.1085, allocations: 2.854 MB / 370.2 MB, free: 6.777 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.1085, allocations: 4 kB / 370.3 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009484/0.1095, allocations: 458.4 kB / 370.7 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004929/0.11, allocations: 322.2 kB / 371 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008619/0.1108, allocations: 457 kB / 371.5 MB, free: 5.555 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.962e-05/0.1109, allocations: 55.97 kB / 371.5 MB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00347/0.1144, allocations: 4.361 MB / 375.9 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/0.1144, allocations: 7.938 kB / 375.9 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002822/0.1172, allocations: 2.013 MB / 377.9 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.1174, allocations: 67.98 kB / 378 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005384/0.118, allocations: 95.94 kB / 378.1 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003083/0.1183, allocations: 221.5 kB / 378.3 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.269e-05/0.1184, allocations: 63.97 kB / 378.3 MB, free: 14.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005109/0.1189, allocations: 0.6097 MB / 378.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1189, allocations: 0 / 378.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001966/0.1209, allocations: 0.9725 MB / 379.9 MB, free: 12.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 13 (dispatcher.secondaryControl.I.y,powerPlant.evaporator.y,powerPlant.superheater1.y,powerPlant.superheater2.y,powerPlant.transferFunction.x_scaled[1],powerPlant.hotwellLevel.y,powerPlant.throttleDynamics.y,powerPlant.throttleCosts.y,hydroPlant.reservoirLevel.y,hydroPlant.rotor.phi,hydroPlant.rotor.w,hydroPlant.controlDynamics.x_scaled[1],system.theta) * Number of discrete variables: 17 (system.initime,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled,windFarm.disturbance.T_start,windFarm.disturbance.count,city.data.nextTimeEvent,city.data.nextTimeEventScaled,dispatcher.data.nextTimeEvent,dispatcher.data.nextTimeEventScaled,dispatcher.hydroDaily.T_start,dispatcher.hydroDaily.count) * Number of discrete states: 8 (windFarm.wind.nextTimeEvent,windFarm.disturbance.count,city.data.nextTimeEvent,dispatcher.data.nextTimeEvent,dispatcher.hydroDaily.count,dispatcher.data.nextTimeEventScaled,city.data.nextTimeEventScaled,windFarm.wind.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 217 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,30), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001676/0.1225, allocations: 0.7937 MB / 380.7 MB, free: 12.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0033/0.1258, allocations: 2.801 MB / 383.5 MB, free: 9.426 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.587e-05/0.1259, allocations: 39.88 kB / 383.6 MB, free: 9.387 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001891/0.1278, allocations: 1.382 MB / 384.9 MB, free: 7.965 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.1297, allocations: 2.785 MB / 387.7 MB, free: 4.715 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02123/0.1509, allocations: 4.318 MB / 392 MB, free: 300 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006337/0.1515, allocations: 0.5765 MB / 392.6 MB, free: 15.69 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001261/0.1528, allocations: 346.8 kB / 393 MB, free: 15.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/0.1538, allocations: 493 kB / 393.4 MB, free: 14.86 MB / 394.7 MB Notification: Performance of SimCode: time 2.495e-06/0.1538, allocations: 0 / 393.4 MB, free: 14.86 MB / 394.7 MB Notification: Performance of Templates: time 0.04702/0.2009, allocations: 40.74 MB / 434.2 MB, free: 6.363 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.PowerWorld.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.PowerWorld.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.PowerWorld.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.PowerWorld.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.PowerWorld.sim & ./PowerSystems_latest_PowerSystems.Examples.PowerWorld.PowerWorld -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.PowerWorld.PowerWorld.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.PowerWorld_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.PowerWorld.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "Warning: Resultfile and Reference have different end time points! Reffile[706]=86400.000000 File[4]=0.626129 " [Timeout remaining time 660] "" Variables in the reference:city.MW2W.u,dispatcher.hydroBase.y,dispatcher.hydroDaily.y,dispatcher.loadForcast,dispatcher.secondaryControl.y,dispatcher.windForcast,frequency.y,hydroPlant.P_control,hydroPlant.P_generator,hydroPlant.primaryControl.y,hydroPlant.reservoirLevel.y,powerPlant.P_control,powerPlant.P_generator,powerPlant.hotwellLevel.y,powerPlant.pressureLoss.y,powerPlant.primaryControl.y,powerPlant.throttleReserve.y,time,windFarm.MW2W.u Variables in the result:$cse19,$cse36,HVDC.V_dc,HVDC.definiteReference,HVDC.potentialReference,city.MW2W.k,city.MW2W.u,city.data.columns[1],city.data.columns[2],city.data.columns[3],city.data.columns[4],city.data.columns[5],city.data.columns[6],city.data.columns[7],city.data.columns[8],city.data.columns[9],city.data.extrapolation,city.data.isCsvExt,city.data.nHeaderLines,city.data.nout,city.data.offset[1],city.data.p_offset[1],city.data.p_offset[2],city.data.p_offset[3],city.data.p_offset[4],city.data.p_offset[5],city.data.p_offset[6],city.data.p_offset[7],city.data.p_offset[8],city.data.p_offset[9],city.data.shiftTime,city.data.smoothness,city.data.startTime,city.data.t_max,city.data.t_maxScaled,city.data.t_min,city.data.t_minScaled,city.data.tableOnFile,city.data.timeEvents,city.data.timeScale,city.data.verboseExtrapolation,city.data.verboseRead,city.data.y[2],city.load.phi,city.load.v_start[1],city.load.v_start[2],city.v_start[1],city.v_start[2],dispatcher.add.k1,dispatcher.add.k2,dispatcher.controlHydro.k,dispatcher.data.columns[1],dispatcher.data.columns[2],dispatcher.data.columns[3],dispatcher.data.columns[4],dispatcher.data.columns[5],dispatcher.data.columns[6],dispatcher.data.columns[7],dispatcher.data.columns[8],dispatcher.data.columns[9],dispatcher.data.extrapolation,dispatcher.data.isCsvExt,dispatcher.data.nHeaderLines,dispatcher.data.nout,dispatcher.data.offset[1],dispatcher.data.p_offset[1],dispatcher.data.p_offset[2],dispatcher.data.p_offset[3],dispatcher.data.p_offset[4],dispatcher.data.p_offset[5],dispatcher.data.p_offset[6],dispatcher.data.p_offset[7],dispatcher.data.p_offset[8],dispatcher.data.p_offset[9],dispatcher.data.shiftTime,dispatcher.data.smoothness,dispatcher.data.startTime,dispatcher.data.t_max,dispatcher.data.t_maxScaled,dispatcher.data.t_min,dispatcher.data.t_minScaled,dispatcher.data.tableOnFile,dispatcher.data.timeEvents,dispatcher.data.timeScale,dispatcher.data.verboseExtrapolation,dispatcher.data.verboseRead,dispatcher.distributionLoss.k,dispatcher.hydroBase.k,dispatcher.hydroBase.y,dispatcher.hydroDaily.T_falling,dispatcher.hydroDaily.T_rising,dispatcher.hydroDaily.T_width,dispatcher.hydroDaily.amplitude,dispatcher.hydroDaily.falling,dispatcher.hydroDaily.nperiod,dispatcher.hydroDaily.offset,dispatcher.hydroDaily.period,dispatcher.hydroDaily.rising,dispatcher.hydroDaily.startTime,dispatcher.hydroDaily.width,dispatcher.hydroDaily.y,dispatcher.hydroDispatch[2],dispatcher.loadForcast,dispatcher.plantDispatch[2],dispatcher.plantSchedule.k1,dispatcher.plantSchedule.k2,dispatcher.plantSchedule.k3,dispatcher.primaryControl.k,dispatcher.reference.k,dispatcher.secondaryControl.Dzero.k,dispatcher.secondaryControl.FFzero.k,dispatcher.secondaryControl.I.initType,dispatcher.secondaryControl.I.k,dispatcher.secondaryControl.I.use_reset,dispatcher.secondaryControl.I.use_set,dispatcher.secondaryControl.I.y_start,dispatcher.secondaryControl.Nd,dispatcher.secondaryControl.Ni,dispatcher.secondaryControl.P.k,dispatcher.secondaryControl.Td,dispatcher.secondaryControl.Ti,dispatcher.secondaryControl.addFF.k1,dispatcher.secondaryControl.addFF.k2,dispatcher.secondaryControl.addI.k1,dispatcher.secondaryControl.addI.k2,dispatcher.secondaryControl.addI.k3,dispatcher.secondaryControl.addP.k1,dispatcher.secondaryControl.addP.k2,dispatcher.secondaryControl.addPID.k1,dispatcher.secondaryControl.addPID.k2,dispatcher.secondaryControl.addPID.k3,dispatcher.secondaryControl.addSat.k1,dispatcher.secondaryControl.addSat.k2,dispatcher.secondaryControl.controllerType,dispatcher.secondaryControl.gainPID.k,dispatcher.secondaryControl.gainTrack.k,dispatcher.secondaryControl.homotopyType,dispatcher.secondaryControl.initType,dispatcher.secondaryControl.k,dispatcher.secondaryControl.kFF,dispatcher.secondaryControl.limiter.homotopyType,dispatcher.secondaryControl.limiter.strict,dispatcher.secondaryControl.limiter.uMax,dispatcher.secondaryControl.limiter.uMin,dispatcher.secondaryControl.strict,dispatcher.secondaryControl.wd,dispatcher.secondaryControl.withFeedForward,dispatcher.secondaryControl.with_D,dispatcher.secondaryControl.with_I,dispatcher.secondaryControl.wp,dispatcher.secondaryControl.xd_start,dispatcher.secondaryControl.xi_start,dispatcher.secondaryControl.y,dispatcher.secondaryControl.yMax,dispatcher.secondaryControl.yMin,dispatcher.secondaryControl.y_start,dispatcher.windForcast,distribution.i_start[1],distribution.i_start[2],distribution.ratio,distribution.v_start[1],distribution.v_start[2],frequency.y,hydroPlant.P_control,hydroPlant.P_generator,hydroPlant.add.k1,hydroPlant.add.k2,hydroPlant.controlDynamics.a[1],hydroPlant.controlDynamics.a[2],hydroPlant.controlDynamics.a_end,hydroPlant.controlDynamics.b[1],hydroPlant.controlDynamics.bb[1],hydroPlant.controlDynamics.bb[2],hydroPlant.controlDynamics.d,hydroPlant.controlDynamics.initType,hydroPlant.controlDynamics.na,hydroPlant.controlDynamics.nb,hydroPlant.controlDynamics.nx,hydroPlant.controlDynamics.x_start[1],hydroPlant.controlDynamics.y_start,hydroPlant.definiteReference,hydroPlant.frequency.k,hydroPlant.generator.V_nom,hydroPlant.generator.definiteReference,hydroPlant.generator.f_nom,hydroPlant.generator.potentialReference,hydroPlant.generator.pp,hydroPlant.generator.synchronous,hydroPlant.potentialReference,hydroPlant.powerControl.k,hydroPlant.primaryControl.Dzero.k,hydroPlant.primaryControl.FFzero.k,hydroPlant.primaryControl.Izero.k,hydroPlant.primaryControl.Nd,hydroPlant.primaryControl.Ni,hydroPlant.primaryControl.P.k,hydroPlant.primaryControl.Td,hydroPlant.primaryControl.Ti,hydroPlant.primaryControl.addFF.k1,hydroPlant.primaryControl.addFF.k2,hydroPlant.primaryControl.addP.k1,hydroPlant.primaryControl.addP.k2,hydroPlant.primaryControl.addPID.k1,hydroPlant.primaryControl.addPID.k2,hydroPlant.primaryControl.addPID.k3,hydroPlant.primaryControl.controllerType,hydroPlant.primaryControl.gainPID.k,hydroPlant.primaryControl.homotopyType,hydroPlant.primaryControl.initType,hydroPlant.primaryControl.k,hydroPlant.primaryControl.kFF,hydroPlant.primaryControl.limiter.homotopyType,hydroPlant.primaryControl.limiter.strict,hydroPlant.primaryControl.limiter.uMax,hydroPlant.primaryControl.limiter.uMin,hydroPlant.primaryControl.strict,hydroPlant.primaryControl.wd,hydroPlant.primaryControl.withFeedForward,hydroPlant.primaryControl.with_D,hydroPlant.primaryControl.with_I,hydroPlant.primaryControl.wp,hydroPlant.primaryControl.xd_start,hydroPlant.primaryControl.xi_start,hydroPlant.primaryControl.y,hydroPlant.primaryControl.yMax,hydroPlant.primaryControl.yMin,hydroPlant.primaryControl.y_start,hydroPlant.primaryControlMax,hydroPlant.reference.k,hydroPlant.reservoirLevel.initType,hydroPlant.reservoirLevel.k,hydroPlant.reservoirLevel.use_reset,hydroPlant.reservoirLevel.use_set,hydroPlant.reservoirLevel.y,hydroPlant.reservoirLevel.y_start,hydroPlant.reservoirTurbine.useSupport,hydroPlant.riverControl.k,hydroPlant.riverTurbine.useSupport,hydroPlant.rotor.J,hydroPlant.rotor.stateSelect,hydroPlant.rotorRiver.J,hydroPlant.rotorRiver.stateSelect,lineHydro.L,lineHydro.R,lineHydro.i_start[1],lineHydro.i_start[2],lineHydro.v_start[1],lineHydro.v_start[2],linePlant.L,linePlant.R,linePlant.i_start[1],linePlant.i_start[2],linePlant.v_start[1],linePlant.v_start[2],lineWind.L,lineWind.R,lineWind.i_start[1],lineWind.i_start[2],lineWind.v_start[1],lineWind.v_start[2],powerPlant.Modakond,powerPlant.P_control,powerPlant.P_generator,powerPlant.accumulation.k1,powerPlant.accumulation.k2,powerPlant.add.k1,powerPlant.add.k2,powerPlant.condStop.generateEvent,powerPlant.definiteReference,powerPlant.evaporator.T,powerPlant.evaporator.initType,powerPlant.evaporator.k,powerPlant.evaporator.y_start,powerPlant.frequency.k,powerPlant.fuel.k1,powerPlant.fuel.k2,powerPlant.generator.V_nom,powerPlant.generator.definiteReference,powerPlant.generator.f_nom,powerPlant.generator.potentialReference,powerPlant.generator.pp,powerPlant.generator.synchronous,powerPlant.hotwellLevel.initType,powerPlant.hotwellLevel.k,powerPlant.hotwellLevel.limitsAtInit,powerPlant.hotwellLevel.outMax,powerPlant.hotwellLevel.outMin,powerPlant.hotwellLevel.strict,powerPlant.hotwellLevel.use_reset,powerPlant.hotwellLevel.use_set,powerPlant.hotwellLevel.y,powerPlant.hotwellLevel.y_start,powerPlant.loadControl.k1,powerPlant.loadControl.k2,powerPlant.potentialReference,powerPlant.pressure.k1,powerPlant.pressure.k2,powerPlant.pressureLoss.k1,powerPlant.pressureLoss.k2,powerPlant.pressureLoss.y,powerPlant.primaryControl.Dzero.k,powerPlant.primaryControl.FFzero.k,powerPlant.primaryControl.Izero.k,powerPlant.primaryControl.Nd,powerPlant.primaryControl.Ni,powerPlant.primaryControl.P.k,powerPlant.primaryControl.Td,powerPlant.primaryControl.Ti,powerPlant.primaryControl.addFF.k1,powerPlant.primaryControl.addFF.k2,powerPlant.primaryControl.addP.k1,powerPlant.primaryControl.addP.k2,powerPlant.primaryControl.addPID.k1,powerPlant.primaryControl.addPID.k2,powerPlant.primaryControl.addPID.k3,powerPlant.primaryControl.controllerType,powerPlant.primaryControl.gainPID.k,powerPlant.primaryControl.homotopyType,powerPlant.primaryControl.initType,powerPlant.primaryControl.k,powerPlant.primaryControl.kFF,powerPlant.primaryControl.limiter.homotopyType,powerPlant.primaryControl.limiter.strict,powerPlant.primaryControl.limiter.uMax,powerPlant.primaryControl.limiter.uMin,powerPlant.primaryControl.strict,powerPlant.primaryControl.wd,powerPlant.primaryControl.withFeedForward,powerPlant.primaryControl.with_D,powerPlant.primaryControl.with_I,powerPlant.primaryControl.wp,powerPlant.primaryControl.xd_start,powerPlant.primaryControl.xi_start,powerPlant.primaryControl.y,powerPlant.primaryControl.yMax,powerPlant.primaryControl.yMin,powerPlant.primaryControl.y_start,powerPlant.primaryControlMax,powerPlant.reference.k,powerPlant.rotor.J,powerPlant.rotor.stateSelect,powerPlant.superheater1.T,powerPlant.superheater1.initType,powerPlant.superheater1.k,powerPlant.superheater1.y_start,powerPlant.superheater2.T,powerPlant.superheater2.initType,powerPlant.superheater2.k,powerPlant.superheater2.y_start,powerPlant.throttleCosts.initType,powerPlant.throttleCosts.k,powerPlant.throttleCosts.use_reset,powerPlant.throttleCosts.use_set,powerPlant.throttleCosts.y_start,powerPlant.throttleDynamics.T,powerPlant.throttleDynamics.initType,powerPlant.throttleDynamics.k,powerPlant.throttleDynamics.y_start,powerPlant.throttleMin.k,powerPlant.throttleReserve.k,powerPlant.throttleReserve.y,powerPlant.transferFunction.a[1],powerPlant.transferFunction.a[2],powerPlant.transferFunction.a_end,powerPlant.transferFunction.b[1],powerPlant.transferFunction.b[2],powerPlant.transferFunction.bb[1],powerPlant.transferFunction.bb[2],powerPlant.transferFunction.d,powerPlant.transferFunction.initType,powerPlant.transferFunction.na,powerPlant.transferFunction.nb,powerPlant.transferFunction.nx,powerPlant.transferFunction.x_start[1],powerPlant.transferFunction.y_start,powerPlant.turbine.useSupport,powerPlant.zero.k,system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.omega_nom,system.refType,system.synRef,system.w_nom,time,trafoHydro.i_start[1],trafoHydro.i_start[2],trafoHydro.ratio,trafoHydro.v_start[1],trafoHydro.v_start[2],trafoPlant.i_start[1],trafoPlant.i_start[2],trafoPlant.ratio,trafoPlant.v_start[1],trafoPlant.v_start[2],windFarm.MW2W.k,windFarm.MW2W.u,windFarm.cut_out,windFarm.definiteReference,windFarm.disturbance.T_falling,windFarm.disturbance.T_rising,windFarm.disturbance.T_width,windFarm.disturbance.amplitude,windFarm.disturbance.falling,windFarm.disturbance.nperiod,windFarm.disturbance.offset,windFarm.disturbance.period,windFarm.disturbance.rising,windFarm.disturbance.startTime,windFarm.disturbance.width,windFarm.mills.definiteReference,windFarm.mills.potentialReference,windFarm.potentialReference,windFarm.product.y,windFarm.wind.columns[1],windFarm.wind.columns[2],windFarm.wind.columns[3],windFarm.wind.columns[4],windFarm.wind.columns[5],windFarm.wind.columns[6],windFarm.wind.columns[7],windFarm.wind.columns[8],windFarm.wind.columns[9],windFarm.wind.extrapolation,windFarm.wind.isCsvExt,windFarm.wind.nHeaderLines,windFarm.wind.nout,windFarm.wind.offset[1],windFarm.wind.p_offset[1],windFarm.wind.p_offset[2],windFarm.wind.p_offset[3],windFarm.wind.p_offset[4],windFarm.wind.p_offset[5],windFarm.wind.p_offset[6],windFarm.wind.p_offset[7],windFarm.wind.p_offset[8],windFarm.wind.p_offset[9],windFarm.wind.shiftTime,windFarm.wind.smoothness,windFarm.wind.startTime,windFarm.wind.t_max,windFarm.wind.t_maxScaled,windFarm.wind.t_min,windFarm.wind.t_minScaled,windFarm.wind.tableOnFile,windFarm.wind.timeEvents,windFarm.wind.timeScale,windFarm.wind.verboseExtrapolation,windFarm.wind.verboseRead filterSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.PowerWorld_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.PowerWorld.diff.mat", vars={"windFarm.MW2W.u", "time", "powerPlant.primaryControl.y", "powerPlant.pressureLoss.y", "powerPlant.P_generator", "powerPlant.P_control", "hydroPlant.reservoirLevel.y", "hydroPlant.primaryControl.y", "hydroPlant.P_generator", "hydroPlant.P_control", "frequency.y", "dispatcher.windForcast", "dispatcher.secondaryControl.y", "dispatcher.loadForcast", "dispatcher.hydroDaily.y", "city.MW2W.u"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.PowerWorld.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.PowerWorld.diff.ref.mat", vars={"windFarm.MW2W.u", "time", "powerPlant.primaryControl.y", "powerPlant.pressureLoss.y", "powerPlant.P_generator", "powerPlant.P_control", "hydroPlant.reservoirLevel.y", "hydroPlant.primaryControl.y", "hydroPlant.P_generator", "hydroPlant.P_control", "frequency.y", "dispatcher.windForcast", "dispatcher.secondaryControl.y", "dispatcher.loadForcast", "dispatcher.hydroDaily.y", "city.MW2W.u"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.9303116155788302]