Running command: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.PowerWorld,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_PowerWorld",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.32/2.32, allocations: 233 MB / 246.1 MB, free: 14.83 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.702e-05/3.7e-05, allocations: 0 / 302.3 MB, free: 7.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1166, allocations: 53.25 MB / 355.5 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5189/0.6355, allocations: 113.2 MB / 468.7 MB, free: 4.438 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002413/0.638, allocations: 0.6759 MB / 469.4 MB, free: 3.762 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getTableTimeTmax. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/PowerSystems latest/Generic.mo:465:11-465:52:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/PowerSystems latest/Generic.mo:468:7-475:13:writable] Warning: Returning false from overconstrained operator applied to array components having size zero: Connections.isRoot({}). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$city$data.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$city$data.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$city$data.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$city$data.getTableTimeTmax. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dispatcher$data.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dispatcher$data.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dispatcher$data.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dispatcher$data.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.7254/1.363, allocations: 99.87 MB / 0.5559 GB, free: 106.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.314e-06/1.364, allocations: 0 / 0.5559 GB, free: 106.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002695/1.364, allocations: 60.61 kB / 0.556 GB, free: 106.3 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01007/1.374, allocations: 2.701 MB / 0.5586 GB, free: 104.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/1.374, allocations: 7.844 kB / 0.5586 GB, free: 104.8 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001207/1.375, allocations: 271.8 kB / 0.5589 GB, free: 104.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007558/1.383, allocations: 0.6578 MB / 0.5595 GB, free: 104.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005/1.388, allocations: 1.468 MB / 0.561 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001981/1.388, allocations: 147.7 kB / 0.5611 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009784/1.389, allocations: 198.8 kB / 0.5613 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007313/1.396, allocations: 2.473 MB / 0.5637 GB, free: 103.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-05/1.397, allocations: 7.906 kB / 0.5637 GB, free: 103.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003596/1.397, allocations: 74.58 kB / 0.5638 GB, free: 103.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003925/1.397, allocations: 127.2 kB / 0.5639 GB, free: 103.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008099/1.405, allocations: 2.663 MB / 0.5665 GB, free: 103.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0253/1.431, allocations: 8.712 MB / 0.575 GB, free: 99.81 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008053/1.439, allocations: 2.992 MB / 0.578 GB, free: 98.31 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002976/1.442, allocations: 1.094 MB / 0.579 GB, free: 97.86 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002052/1.442, allocations: 38.12 kB / 0.5791 GB, free: 97.85 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003423/1.446, allocations: 1.277 MB / 0.5803 GB, free: 97.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=215): time 6.983e-06/1.446, allocations: 0 / 0.5803 GB, free: 97.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=226): time 0.02298/1.469, allocations: 7.311 MB / 0.5874 GB, free: 94.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/1.469, allocations: 264.2 kB / 0.5877 GB, free: 93.73 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002781/1.472, allocations: 1.315 MB / 0.589 GB, free: 93.21 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007163/1.472, allocations: 79.36 kB / 0.5891 GB, free: 93.14 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009258/1.473, allocations: 0.874 MB / 0.5899 GB, free: 92.46 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001252/1.475, allocations: 0.7621 MB / 0.5907 GB, free: 91.88 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/1.475, allocations: 46.41 kB / 0.5907 GB, free: 91.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/1.475, allocations: 394.2 kB / 0.5911 GB, free: 91.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002588/1.478, allocations: 0.9273 MB / 0.592 GB, free: 91.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003082/1.481, allocations: 1.243 MB / 0.5932 GB, free: 90.43 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0031/1.484, allocations: 1.23 MB / 0.5944 GB, free: 89.81 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/1.484, allocations: 3.938 kB / 0.5944 GB, free: 89.81 MB / 458.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.009229/1.493, allocations: 3.242 MB / 0.5976 GB, free: 88.45 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005464/1.494, allocations: 2.417 MB / 0.5999 GB, free: 85.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/1.494, allocations: 3.844 kB / 0.5999 GB, free: 85.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00254/1.496, allocations: 0.5572 MB / 0.6005 GB, free: 85.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004042/1.5, allocations: 476 kB / 0.6009 GB, free: 85.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/1.51, allocations: 5.696 MB / 0.6065 GB, free: 81.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003483/1.514, allocations: 192.7 kB / 0.6067 GB, free: 81.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004782/1.515, allocations: 90.55 kB / 0.6068 GB, free: 81.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/1.515, allocations: 4 kB / 0.6068 GB, free: 81.23 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008545/1.523, allocations: 3.11 MB / 0.6098 GB, free: 78.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/1.523, allocations: 7.953 kB / 0.6098 GB, free: 78.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002454/1.526, allocations: 0.5564 MB / 0.6104 GB, free: 77.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003915/1.53, allocations: 454.2 kB / 0.6108 GB, free: 77.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009945/1.54, allocations: 5.715 MB / 0.6164 GB, free: 72.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003373/1.543, allocations: 168.2 kB / 0.6165 GB, free: 71.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005578/1.544, allocations: 87.03 kB / 0.6166 GB, free: 71.82 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$PRE.windFarm.wind.nextTimeEvent,$whenCondition3,$PRE.city.data.nextTimeEvent,$whenCondition2,$PRE.dispatcher.data.nextTimeEvent,system.initime,$whenCondition6,$whenCondition4,$whenCondition1,windFarm.wind.nextTimeEvent,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.disturbance.T_start,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.count,windFarm.disturbance.count,city.data.nextTimeEvent,$PRE.city.data.nextTimeEventScaled,city.data.nextTimeEventScaled,dispatcher.data.nextTimeEvent,$PRE.dispatcher.data.nextTimeEventScaled,dispatcher.data.nextTimeEventScaled,$PRE.dispatcher.hydroDaily.T_start,dispatcher.hydroDaily.T_start,$PRE.dispatcher.hydroDaily.count,dispatcher.hydroDaily.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (222): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {6 32,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0007335/1.544, allocations: 239.1 kB / 0.6168 GB, free: 71.59 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000679/1.545, allocations: 209.4 kB / 0.617 GB, free: 71.38 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009639/1.555, allocations: 3.187 MB / 0.6202 GB, free: 68.57 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.321e-05/1.555, allocations: 24 kB / 0.6202 GB, free: 68.54 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/1.555, allocations: 11.84 kB / 0.6202 GB, free: 68.54 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.678e-05/1.555, allocations: 15.53 kB / 0.6202 GB, free: 68.53 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01657/1.571, allocations: 6.063 MB / 0.6261 GB, free: 63.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/1.572, allocations: 0 / 0.6261 GB, free: 63.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003819/1.575, allocations: 439.8 kB / 0.6265 GB, free: 63.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00228/1.578, allocations: 467.2 kB / 0.627 GB, free: 62.79 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005904/1.578, allocations: 59.78 kB / 0.627 GB, free: 62.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01131/1.59, allocations: 6.098 MB / 0.633 GB, free: 56.41 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-06/1.59, allocations: 4.094 kB / 0.633 GB, free: 56.41 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01226/1.602, allocations: 4.639 MB / 0.6375 GB, free: 51.58 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001943/1.604, allocations: 0.5527 MB / 0.6381 GB, free: 51.01 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005898/1.605, allocations: 68 kB / 0.6381 GB, free: 50.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003014/1.608, allocations: 175.8 kB / 0.6383 GB, free: 50.77 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007307/1.608, allocations: 213.6 kB / 0.6385 GB, free: 50.56 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002524/1.609, allocations: 79.98 kB / 0.6386 GB, free: 50.48 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002107/1.611, allocations: 1.013 MB / 0.6396 GB, free: 49.47 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.41e-07/1.611, allocations: 0 / 0.6396 GB, free: 49.47 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005213/1.616, allocations: 1.043 MB / 0.6406 GB, free: 48.43 MB / 458.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (223): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {6 30,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01513/1.631, allocations: 6.717 MB / 0.6472 GB, free: 41.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01337/1.645, allocations: 5.327 MB / 0.6524 GB, free: 36.23 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/1.645, allocations: 0 / 0.6524 GB, free: 36.23 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005671/1.65, allocations: 1.804 MB / 0.6541 GB, free: 34.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003429/1.654, allocations: 334 kB / 0.6544 GB, free: 34.08 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01466/1.669, allocations: 4.648 MB / 0.659 GB, free: 29.38 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001667/1.67, allocations: 1.787 MB / 0.6607 GB, free: 27.56 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004045/1.674, allocations: 0.7557 MB / 0.6615 GB, free: 26.82 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001955/1.676, allocations: 0.9444 MB / 0.6624 GB, free: 25.87 MB / 458.7 MB Notification: Performance of SimCode: time 1.242e-06/1.676, allocations: 0 / 0.6624 GB, free: 25.87 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4811/2.158, allocations: 57.63 MB / 0.7187 GB, free: 106.6 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/2.158, allocations: 215.4 kB / 0.7189 GB, free: 106.4 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.129/7.287, allocations: 0 / 0.7189 GB, free: 106.4 MB / 474.7 MB