Running command: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.PowerWorld,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_PowerWorld",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.307/2.307, allocations: 233 MB / 246.1 MB, free: 14.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.872e-05/3.877e-05, allocations: 7.984 kB / 302.3 MB, free: 7.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1187, allocations: 53.23 MB / 355.5 MB, free: 2.055 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5275/0.6462, allocations: 113.2 MB / 468.7 MB, free: 4.465 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002393/0.6487, allocations: 0.679 MB / 469.4 MB, free: 3.785 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 1.0.0/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 1.0.0/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.7696/1.418, allocations: 99.87 MB / 0.5559 GB, free: 106.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.685e-06/1.418, allocations: 0 / 0.5559 GB, free: 106.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003465/1.419, allocations: 57.98 kB / 0.556 GB, free: 106.2 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.01041/1.429, allocations: 2.69 MB / 0.5586 GB, free: 104.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/1.429, allocations: 11.69 kB / 0.5586 GB, free: 104.7 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001227/1.43, allocations: 274.3 kB / 0.5589 GB, free: 104.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007699/1.438, allocations: 0.6545 MB / 0.5595 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005038/1.443, allocations: 1.464 MB / 0.561 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002281/1.444, allocations: 148.6 kB / 0.5611 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001119/1.445, allocations: 199.2 kB / 0.5613 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008123/1.453, allocations: 2.483 MB / 0.5637 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000108/1.453, allocations: 0 / 0.5637 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004445/1.454, allocations: 78.91 kB / 0.5638 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004028/1.454, allocations: 127.8 kB / 0.5639 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008344/1.462, allocations: 2.663 MB / 0.5665 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02509/1.487, allocations: 8.706 MB / 0.575 GB, free: 99.85 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007772/1.495, allocations: 2.999 MB / 0.5779 GB, free: 98.34 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002877/1.498, allocations: 1.091 MB / 0.579 GB, free: 97.89 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002139/1.498, allocations: 38.19 kB / 0.579 GB, free: 97.89 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003285/1.502, allocations: 1.278 MB / 0.5803 GB, free: 97.38 MB / 458.7 MB Notification: Performance of pre-optimization done (n=215): time 5.921e-06/1.502, allocations: 0 / 0.5803 GB, free: 97.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=226): time 0.02193/1.524, allocations: 7.319 MB / 0.5874 GB, free: 94.05 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/1.524, allocations: 270.2 kB / 0.5877 GB, free: 93.76 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002672/1.527, allocations: 1.311 MB / 0.589 GB, free: 93.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006774/1.527, allocations: 79.14 kB / 0.5891 GB, free: 93.17 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008964/1.528, allocations: 0.8696 MB / 0.5899 GB, free: 92.49 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001162/1.529, allocations: 0.7626 MB / 0.5907 GB, free: 91.91 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/1.53, allocations: 43.12 kB / 0.5907 GB, free: 91.88 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/1.53, allocations: 395.9 kB / 0.5911 GB, free: 91.53 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002518/1.532, allocations: 0.9342 MB / 0.592 GB, free: 91.15 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002967/1.535, allocations: 1.237 MB / 0.5932 GB, free: 90.46 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003183/1.539, allocations: 1.228 MB / 0.5944 GB, free: 89.84 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.338e-05/1.539, allocations: 3.656 kB / 0.5944 GB, free: 89.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.009807/1.548, allocations: 3.241 MB / 0.5976 GB, free: 88.48 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005758/1.549, allocations: 2.415 MB / 0.5999 GB, free: 85.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/1.549, allocations: 3.844 kB / 0.5999 GB, free: 85.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002665/1.552, allocations: 0.5594 MB / 0.6005 GB, free: 85.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004023/1.556, allocations: 480.7 kB / 0.6009 GB, free: 85.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/1.566, allocations: 5.708 MB / 0.6065 GB, free: 81.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003474/1.57, allocations: 186.6 kB / 0.6067 GB, free: 81.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006257/1.57, allocations: 90.94 kB / 0.6068 GB, free: 81.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/1.57, allocations: 10.34 kB / 0.6068 GB, free: 81.28 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008638/1.579, allocations: 3.103 MB / 0.6098 GB, free: 78.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.711e-05/1.579, allocations: 11.95 kB / 0.6098 GB, free: 78.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002502/1.581, allocations: 0.5502 MB / 0.6104 GB, free: 77.94 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003886/1.585, allocations: 450.1 kB / 0.6108 GB, free: 77.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/1.595, allocations: 5.709 MB / 0.6164 GB, free: 72.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003538/1.599, allocations: 175.1 kB / 0.6165 GB, free: 71.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006445/1.6, allocations: 91.73 kB / 0.6166 GB, free: 71.88 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.0007367/1.601, allocations: 227.7 kB / 0.6168 GB, free: 71.65 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006785/1.601, allocations: 209.4 kB / 0.617 GB, free: 71.44 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009468/1.611, allocations: 3.196 MB / 0.6201 GB, free: 68.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.741e-05/1.611, allocations: 24 kB / 0.6202 GB, free: 68.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/1.611, allocations: 0 / 0.6202 GB, free: 68.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.226e-05/1.611, allocations: 18.88 kB / 0.6202 GB, free: 68.59 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01798/1.629, allocations: 6.071 MB / 0.6261 GB, free: 63.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.123e-05/1.629, allocations: 0 / 0.6261 GB, free: 63.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003941/1.633, allocations: 437.1 kB / 0.6265 GB, free: 63.22 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002207/1.635, allocations: 467.9 kB / 0.627 GB, free: 62.84 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004996/1.636, allocations: 63.31 kB / 0.627 GB, free: 62.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/1.647, allocations: 6.096 MB / 0.633 GB, free: 56.45 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/1.647, allocations: 4 kB / 0.633 GB, free: 56.45 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01573/1.662, allocations: 4.631 MB / 0.6375 GB, free: 51.63 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002769/1.665, allocations: 0.5488 MB / 0.6381 GB, free: 51.06 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009757/1.666, allocations: 71.25 kB / 0.6381 GB, free: 50.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004189/1.67, allocations: 175.8 kB / 0.6383 GB, free: 50.82 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001011/1.671, allocations: 217.6 kB / 0.6385 GB, free: 50.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003498/1.672, allocations: 75.97 kB / 0.6386 GB, free: 50.53 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002943/1.675, allocations: 1.017 MB / 0.6396 GB, free: 49.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.122e-06/1.675, allocations: 0 / 0.6396 GB, free: 49.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009061/1.684, allocations: 1.047 MB / 0.6406 GB, free: 48.47 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.02087/1.705, allocations: 6.717 MB / 0.6471 GB, free: 41.77 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01749/1.722, allocations: 5.322 MB / 0.6523 GB, free: 36.27 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/1.722, allocations: 4 kB / 0.6523 GB, free: 36.27 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00642/1.729, allocations: 1.808 MB / 0.6541 GB, free: 34.45 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003054/1.732, allocations: 333.5 kB / 0.6544 GB, free: 34.12 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/1.746, allocations: 4.65 MB / 0.659 GB, free: 29.42 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001653/1.747, allocations: 1.79 MB / 0.6607 GB, free: 27.59 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004083/1.752, allocations: 0.7596 MB / 0.6615 GB, free: 26.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001926/1.754, allocations: 0.9327 MB / 0.6624 GB, free: 25.91 MB / 458.7 MB Notification: Performance of SimCode: time 1.653e-06/1.754, allocations: 4 kB / 0.6624 GB, free: 25.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5058/2.259, allocations: 57.61 MB / 0.7186 GB, free: 106.5 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002557/2.26, allocations: 220.2 kB / 0.7188 GB, free: 106.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.91/7.17, allocations: 0 / 0.7188 GB, free: 106.2 MB / 474.7 MB