Running command: translateModel(PowerSystems.Examples.PowerWorld.PowerWorld,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.PowerWorld") Notification: Performance of loadModel(PowerSystems): time 2.227/2.227, allocations: 233 MB / 245.6 MB, free: 14.78 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.911e-05/2.914e-05, allocations: 0 / 301.2 MB, free: 7.992 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09035/0.0904, allocations: 53.24 MB / 354.5 MB, free: 2.637 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3916/0.482, allocations: 113.2 MB / 467.7 MB, free: 4.805 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00207/0.4841, allocations: 0.6713 MB / 468.4 MB, free: 4.133 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.7152/1.199, allocations: 99.86 MB / 0.5549 GB, free: 106.1 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.639e-06/1.199, allocations: 6.766 kB / 0.5549 GB, free: 106.1 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001676/1.2, allocations: 57.36 kB / 0.555 GB, free: 106.1 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.005958/1.206, allocations: 2.688 MB / 0.5576 GB, free: 104.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/1.206, allocations: 11.69 kB / 0.5576 GB, free: 104.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006105/1.212, allocations: 0.6546 MB / 0.5583 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003659/1.215, allocations: 1.458 MB / 0.5597 GB, free: 104 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/1.216, allocations: 146 kB / 0.5598 GB, free: 104 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004871/1.216, allocations: 206.5 kB / 0.56 GB, free: 104 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005277/1.221, allocations: 2.482 MB / 0.5624 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.817e-05/1.221, allocations: 0 / 0.5624 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002936/1.222, allocations: 82.77 kB / 0.5625 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002654/1.222, allocations: 127.5 kB / 0.5626 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00551/1.228, allocations: 2.658 MB / 0.5652 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0165/1.244, allocations: 8.695 MB / 0.5737 GB, free: 99.95 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005561/1.25, allocations: 3.008 MB / 0.5767 GB, free: 98.43 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002079/1.252, allocations: 1.09 MB / 0.5777 GB, free: 97.98 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/1.252, allocations: 39.52 kB / 0.5778 GB, free: 97.98 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002377/1.254, allocations: 1.273 MB / 0.579 GB, free: 97.47 MB / 458.7 MB Notification: Performance of pre-optimization done (n=215): time 6.04e-06/1.254, allocations: 4 kB / 0.579 GB, free: 97.47 MB / 458.7 MB Notification: Performance of matching and sorting (n=226): time 0.01611/1.271, allocations: 7.311 MB / 0.5861 GB, free: 94.14 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.446e-05/1.271, allocations: 266.9 kB / 0.5864 GB, free: 93.86 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/1.273, allocations: 1.313 MB / 0.5877 GB, free: 93.33 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003409/1.273, allocations: 80.64 kB / 0.5878 GB, free: 93.26 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005892/1.274, allocations: 0.808 MB / 0.5886 GB, free: 92.57 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006612/1.275, allocations: 0.7608 MB / 0.5893 GB, free: 91.99 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/1.275, allocations: 41.78 kB / 0.5893 GB, free: 91.96 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/1.275, allocations: 399 kB / 0.5897 GB, free: 91.61 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/1.277, allocations: 0.9373 MB / 0.5906 GB, free: 91.23 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002211/1.279, allocations: 1.232 MB / 0.5918 GB, free: 90.54 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002323/1.281, allocations: 1.232 MB / 0.593 GB, free: 89.92 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.579e-06/1.281, allocations: 3.188 kB / 0.593 GB, free: 89.92 MB / 458.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.006686/1.288, allocations: 3.125 MB / 0.5961 GB, free: 88.62 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004824/1.289, allocations: 2.332 MB / 0.5984 GB, free: 86.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/1.289, allocations: 7.312 kB / 0.5984 GB, free: 86.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001914/1.291, allocations: 0.55 MB / 0.5989 GB, free: 85.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002487/1.293, allocations: 474 kB / 0.5994 GB, free: 85.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007788/1.301, allocations: 5.717 MB / 0.6049 GB, free: 81.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/1.303, allocations: 193.5 kB / 0.6051 GB, free: 81.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000269/1.304, allocations: 89.44 kB / 0.6052 GB, free: 81.86 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/1.304, allocations: 4 kB / 0.6052 GB, free: 81.86 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006655/1.31, allocations: 3.109 MB / 0.6083 GB, free: 79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/1.31, allocations: 8.344 kB / 0.6083 GB, free: 78.99 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001658/1.312, allocations: 475.4 kB / 0.6087 GB, free: 78.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002361/1.314, allocations: 448.4 kB / 0.6091 GB, free: 78.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00781/1.322, allocations: 5.661 MB / 0.6147 GB, free: 72.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/1.324, allocations: 147 kB / 0.6148 GB, free: 72.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002676/1.324, allocations: 94.75 kB / 0.6149 GB, free: 72.6 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.0005928/1.325, allocations: 239.2 kB / 0.6151 GB, free: 72.37 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005445/1.325, allocations: 209.4 kB / 0.6153 GB, free: 72.16 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00731/1.333, allocations: 3.183 MB / 0.6184 GB, free: 69.35 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.312e-05/1.333, allocations: 24 kB / 0.6185 GB, free: 69.33 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.426e-06/1.333, allocations: 0 / 0.6185 GB, free: 69.33 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.121e-05/1.333, allocations: 15.56 kB / 0.6185 GB, free: 69.32 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/1.346, allocations: 6.078 MB / 0.6244 GB, free: 64.31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/1.346, allocations: 6.562 kB / 0.6244 GB, free: 64.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002381/1.348, allocations: 437.5 kB / 0.6248 GB, free: 63.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001665/1.35, allocations: 465.5 kB / 0.6253 GB, free: 63.57 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002499/1.35, allocations: 59.78 kB / 0.6253 GB, free: 63.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008919/1.359, allocations: 6.104 MB / 0.6313 GB, free: 57.47 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.917e-06/1.359, allocations: 8 kB / 0.6313 GB, free: 57.46 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009321/1.368, allocations: 4.638 MB / 0.6358 GB, free: 52.63 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/1.37, allocations: 0.5449 MB / 0.6364 GB, free: 52.07 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004154/1.37, allocations: 64 kB / 0.6364 GB, free: 52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001746/1.372, allocations: 183.8 kB / 0.6366 GB, free: 51.82 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005057/1.372, allocations: 217.6 kB / 0.6368 GB, free: 51.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002362/1.373, allocations: 71.98 kB / 0.6369 GB, free: 51.54 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001729/1.374, allocations: 1.01 MB / 0.6379 GB, free: 50.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.92e-07/1.374, allocations: 7.938 kB / 0.6379 GB, free: 50.53 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003552/1.378, allocations: 1.041 MB / 0.6389 GB, free: 49.49 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.003182/1.381, allocations: 0.9586 MB / 0.6398 GB, free: 48.71 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009345/1.391, allocations: 5.279 MB / 0.645 GB, free: 43.26 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.757e-06/1.391, allocations: 0 / 0.645 GB, free: 43.26 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003615/1.394, allocations: 1.765 MB / 0.6467 GB, free: 41.48 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/1.396, allocations: 350.7 kB / 0.647 GB, free: 41.14 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008712/1.405, allocations: 4.194 MB / 0.6511 GB, free: 36.91 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001615/1.407, allocations: 1.787 MB / 0.6529 GB, free: 35.08 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/1.408, allocations: 183.3 kB / 0.6531 GB, free: 34.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.774e-06/1.408, allocations: 0 / 0.6531 GB, free: 34.9 MB / 458.7 MB Notification: Performance of Templates: time 0.06336/1.471, allocations: 47.72 MB / 0.6997 GB, free: 3.145 MB / 474.7 MB