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.001428/0.001428, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.007452/0.007452, allocations: 170.2 kB / 24.82 MB, free: 8.879 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 1.038/1.038, allocations: 177.1 MB / 205.3 MB, free: 5.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.2302/0.2302, allocations: 29.42 MB / 291.2 MB, free: 2.438 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.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 2.184e-06/2.184e-06, allocations: 0 / 370.1 MB, free: 10.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.981e-05, allocations: 2.312 kB / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.PowerWorld): time 0.01487/0.0149, allocations: 11.48 MB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01416/0.02906, allocations: 6.259 MB / 387.8 MB, free: 8.938 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003282/0.03234, allocations: 83.44 kB / 387.9 MB, free: 8.855 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003773/0.03611, allocations: 1.033 MB / 389 MB, free: 7.816 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006629/0.04274, allocations: 1.721 MB / 390.7 MB, free: 6.086 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005815/0.04856, allocations: 1.535 MB / 392.2 MB, free: 4.547 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006831/0.05539, allocations: 3.966 MB / 396.2 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004266/0.05966, allocations: 1.756 MB / 397.9 MB, free: 14.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00597/0.06563, allocations: 2.1 MB / 400 MB, free: 12.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00316/0.06879, allocations: 1.449 MB / 401.5 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001035/0.06982, allocations: 300 kB / 401.8 MB, free: 10.92 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003916/0.07374, allocations: 1.551 MB / 403.3 MB, free: 9.367 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001625/0.07536, allocations: 1.052 MB / 404.4 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002325/0.07769, allocations: 0.9078 MB / 405.3 MB, free: 7.402 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008118/0.08581, allocations: 2.966 MB / 408.3 MB, free: 4.426 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.659e-06/0.08581, allocations: 0 / 408.3 MB, free: 4.426 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.08582, allocations: 4 kB / 408.3 MB, free: 4.422 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001219/0.08594, allocations: 0 / 408.3 MB, free: 4.422 MB / 378.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.007004/0.09294, allocations: 3.299 MB / 411.6 MB, free: 1.039 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.093, allocations: 11.98 kB / 411.6 MB, free: 1.027 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004304/0.0973, allocations: 0.8846 MB / 412.5 MB, free: 144 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003525/0.1008, allocations: 1.464 MB / 413.9 MB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.101, allocations: 160.1 kB / 414.1 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004215/0.1014, allocations: 204.3 kB / 414.3 MB, free: 14.28 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00356/0.105, allocations: 1.953 MB / 416.2 MB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.721e-05/0.105, allocations: 7.984 kB / 416.2 MB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000202/0.1052, allocations: 83.98 kB / 416.3 MB, free: 12.03 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001389/0.1054, allocations: 111.7 kB / 416.4 MB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002291/0.1077, allocations: 1.036 MB / 417.5 MB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01332/0.121, allocations: 7.694 MB / 425.2 MB, free: 2.988 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003124/0.1241, allocations: 1.585 MB / 426.7 MB, free: 1.387 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008297/0.1249, allocations: 429 kB / 427.2 MB, free: 0.9648 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.1251, allocations: 49.98 kB / 427.2 MB, free: 0.918 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001625/0.1267, allocations: 0.776 MB / 428 MB, free: 120 kB / 394.7 MB Notification: Performance of pre-optimization done (n=218): time 7.234e-06/0.1267, allocations: 0 / 428 MB, free: 120 kB / 394.7 MB Notification: Performance of matching and sorting (n=229): time 0.01284/0.1395, allocations: 4.588 MB / 432.6 MB, free: 11.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001693/0.1397, allocations: 342.4 kB / 432.9 MB, free: 11.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/0.1416, allocations: 1.299 MB / 434.2 MB, free: 9.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002259/0.1418, allocations: 81.7 kB / 434.3 MB, free: 9.664 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001251/0.143, allocations: 1.037 MB / 435.3 MB, free: 8.613 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008386/0.1439, allocations: 0.8056 MB / 436.1 MB, free: 7.801 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007595/0.1446, allocations: 393.7 kB / 436.5 MB, free: 7.406 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1448, allocations: 480.8 kB / 437 MB, free: 6.934 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008519/0.1456, allocations: 360 kB / 437.3 MB, free: 6.559 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/0.1469, allocations: 1.053 MB / 438.4 MB, free: 5.262 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/0.1489, allocations: 1.138 MB / 439.5 MB, free: 3.984 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/0.1489, allocations: 7.938 kB / 439.5 MB, free: 3.977 MB / 410.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.003643/0.1526, allocations: 1.802 MB / 441.3 MB, free: 2.133 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.871e-05/0.1527, allocations: 70.05 kB / 441.4 MB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.1527, allocations: 8.594 kB / 441.4 MB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005973/0.1533, allocations: 279.1 kB / 441.7 MB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.1543, allocations: 475.3 kB / 442.1 MB, free: 1.301 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1529/0.3073, allocations: 4.69 MB / 446.8 MB, free: 82.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.3086, allocations: 106.9 kB / 446.9 MB, free: 82.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/0.3088, allocations: 74.58 kB / 447 MB, free: 82.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008912/0.3097, allocations: 0.4955 MB / 447.5 MB, free: 81.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006457/0.3103, allocations: 1.048 MB / 448.6 MB, free: 81.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001127/0.3114, allocations: 1.135 MB / 449.7 MB, free: 80.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.715e-06/0.3114, allocations: 3.094 kB / 449.7 MB, free: 80.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=276) (initialization_lambda0): time 0.002195/0.3136, allocations: 1.801 MB / 451.5 MB, free: 80.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.3137, allocations: 64.09 kB / 451.6 MB, free: 80.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.3137, allocations: 6.531 kB / 451.6 MB, free: 80.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005198/0.3142, allocations: 285.1 kB / 451.8 MB, free: 80.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.3152, allocations: 461.7 kB / 452.3 MB, free: 80.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002569/0.3178, allocations: 4.711 MB / 457 MB, free: 76.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.3188, allocations: 101.2 kB / 457.1 MB, free: 76.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.3189, allocations: 68.66 kB / 457.2 MB, free: 76.75 MB / 410.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.0003773/0.3193, allocations: 404.3 kB / 457.6 MB, free: 76.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003571/0.3197, allocations: 298.3 kB / 457.9 MB, free: 76.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/0.3221, allocations: 1.956 MB / 459.8 MB, free: 76.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.3221, allocations: 28.72 kB / 459.8 MB, free: 76.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3221, allocations: 3.328 kB / 459.8 MB, free: 76.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.3221, allocations: 17.78 kB / 459.9 MB, free: 76.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004857/0.327, allocations: 3.629 MB / 463.5 MB, free: 75.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.327, allocations: 3.5 kB / 463.5 MB, free: 75.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008173/0.3278, allocations: 384.1 kB / 463.9 MB, free: 75.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008333/0.3286, allocations: 429.1 kB / 464.3 MB, free: 75.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/0.3288, allocations: 66.14 kB / 464.4 MB, free: 75.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003421/0.3322, allocations: 5.699 MB / 470.1 MB, free: 71.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3322, allocations: 7.188 kB / 470.1 MB, free: 71.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002987/0.3352, allocations: 2.486 MB / 472.5 MB, free: 71.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006313/0.3358, allocations: 438.5 kB / 473 MB, free: 70.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/0.336, allocations: 69.28 kB / 473 MB, free: 70.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005447/0.3366, allocations: 99.78 kB / 473.1 MB, free: 70.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002831/0.3369, allocations: 220 kB / 473.4 MB, free: 70.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.435e-05/0.3369, allocations: 64.92 kB / 473.4 MB, free: 70.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005785/0.3375, allocations: 0.7364 MB / 474.2 MB, free: 70.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3375, allocations: 0 / 474.2 MB, free: 70.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001997/0.3395, allocations: 0.9554 MB / 475.1 MB, free: 70.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (226): * Single equations (assignments): 213 * 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 {(5,31), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001113/0.3406, allocations: 0.5914 MB / 475.7 MB, free: 70.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003023/0.3437, allocations: 3.163 MB / 478.9 MB, free: 69.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3437, allocations: 0 / 478.9 MB, free: 69.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001216/0.3449, allocations: 1.303 MB / 480.2 MB, free: 68.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.3462, allocations: 488.8 kB / 480.6 MB, free: 68.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005889/0.352, allocations: 4.295 MB / 484.9 MB, free: 66.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006071/0.3526, allocations: 0.5656 MB / 485.5 MB, free: 66.47 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001247/0.3539, allocations: 332.2 kB / 485.8 MB, free: 66.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/0.355, allocations: 0.5259 MB / 486.4 MB, free: 66.29 MB / 410.7 MB Notification: Performance of SimCode: time 1.743e-06/0.355, allocations: 0 / 486.4 MB, free: 66.29 MB / 410.7 MB Notification: Performance of Templates: time 0.04824/0.4032, allocations: 39.03 MB / 0.5131 GB, free: 44.26 MB / 410.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 -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,rangeDelta=0.001) [Timeout 660] "" [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,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.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.y,hydroPlant.reservoirLevel.y_start,hydroPlant.riverControl.k,hydroPlant.rotor.J,hydroPlant.rotorRiver.J,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.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.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.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.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={"powerPlant.hotwellLevel.y"}, 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={"powerPlant.hotwellLevel.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 4.363807513844222]