Running command: translateModel(PowerSystems.Examples.PowerWorld.PowerWorld,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.PowerWorld") Notification: Performance of loadModel(PowerSystems): time 2.362/2.362, allocations: 233 MB / 246.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.737e-05/2.754e-05, allocations: 3.938 kB / 302.2 MB, free: 7.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09258/0.09263, allocations: 53.24 MB / 355.4 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3965/0.4892, allocations: 113.2 MB / 468.6 MB, free: 4.633 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002108/0.4913, allocations: 0.6741 MB / 469.3 MB, free: 3.961 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.6181/1.109, allocations: 99.86 MB / 0.5558 GB, free: 106.1 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.778e-06/1.109, allocations: 0 / 0.5558 GB, free: 106.1 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001945/1.11, allocations: 53.59 kB / 0.5559 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.006709/1.116, allocations: 2.693 MB / 0.5585 GB, free: 104.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/1.116, allocations: 11.62 kB / 0.5585 GB, free: 104.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006391/1.123, allocations: 0.6534 MB / 0.5592 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003972/1.127, allocations: 1.456 MB / 0.5606 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/1.127, allocations: 148.9 kB / 0.5607 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006192/1.128, allocations: 200.6 kB / 0.5609 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005962/1.134, allocations: 2.483 MB / 0.5634 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-05/1.134, allocations: 7.875 kB / 0.5634 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002994/1.134, allocations: 72.55 kB / 0.5634 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002749/1.134, allocations: 128 kB / 0.5636 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006285/1.141, allocations: 2.662 MB / 0.5661 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01933/1.16, allocations: 8.697 MB / 0.5746 GB, free: 100.1 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006183/1.166, allocations: 3.001 MB / 0.5776 GB, free: 98.55 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002439/1.169, allocations: 1.096 MB / 0.5786 GB, free: 98.09 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/1.169, allocations: 39.66 kB / 0.5787 GB, free: 98.09 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002698/1.172, allocations: 1.273 MB / 0.5799 GB, free: 97.58 MB / 458.7 MB Notification: Performance of pre-optimization done (n=215): time 6.735e-06/1.172, allocations: 0 / 0.5799 GB, free: 97.58 MB / 458.7 MB Notification: Performance of matching and sorting (n=226): time 0.01767/1.189, allocations: 7.322 MB / 0.5871 GB, free: 94.25 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.712e-05/1.19, allocations: 259.1 kB / 0.5873 GB, free: 93.96 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002618/1.192, allocations: 1.311 MB / 0.5886 GB, free: 93.44 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005416/1.193, allocations: 87.41 kB / 0.5887 GB, free: 93.37 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008016/1.194, allocations: 0.8701 MB / 0.5895 GB, free: 92.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009109/1.194, allocations: 0.76 MB / 0.5903 GB, free: 92.11 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/1.195, allocations: 42.84 kB / 0.5903 GB, free: 92.08 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/1.195, allocations: 400.9 kB / 0.5907 GB, free: 91.73 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002072/1.197, allocations: 0.9374 MB / 0.5916 GB, free: 91.35 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002536/1.199, allocations: 1.228 MB / 0.5928 GB, free: 90.67 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002779/1.202, allocations: 1.233 MB / 0.594 GB, free: 90.04 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-05/1.202, allocations: 3.812 kB / 0.594 GB, free: 90.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.007899/1.21, allocations: 3.244 MB / 0.5972 GB, free: 88.68 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005358/1.211, allocations: 2.415 MB / 0.5995 GB, free: 86.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/1.211, allocations: 5.531 kB / 0.5996 GB, free: 86.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001985/1.213, allocations: 0.5538 MB / 0.6001 GB, free: 85.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002724/1.216, allocations: 477.1 kB / 0.6006 GB, free: 85.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008227/1.224, allocations: 5.701 MB / 0.6061 GB, free: 81.76 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/1.226, allocations: 189.7 kB / 0.6063 GB, free: 81.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003746/1.227, allocations: 94.25 kB / 0.6064 GB, free: 81.54 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/1.227, allocations: 8 kB / 0.6064 GB, free: 81.53 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007018/1.234, allocations: 3.105 MB / 0.6094 GB, free: 78.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/1.234, allocations: 4 kB / 0.6094 GB, free: 78.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001891/1.236, allocations: 0.5539 MB / 0.61 GB, free: 78.19 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002618/1.238, allocations: 454.5 kB / 0.6104 GB, free: 77.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008257/1.247, allocations: 5.703 MB / 0.616 GB, free: 72.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003468/1.25, allocations: 172.7 kB / 0.6161 GB, free: 72.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000573/1.251, allocations: 86.84 kB / 0.6162 GB, free: 72.13 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.0006381/1.252, allocations: 238.8 kB / 0.6165 GB, free: 71.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005648/1.252, allocations: 209.4 kB / 0.6167 GB, free: 71.69 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007812/1.26, allocations: 3.192 MB / 0.6198 GB, free: 68.88 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/1.26, allocations: 28 kB / 0.6198 GB, free: 68.85 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.729e-06/1.26, allocations: 0 / 0.6198 GB, free: 68.85 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.863e-05/1.26, allocations: 18.77 kB / 0.6198 GB, free: 68.84 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01495/1.275, allocations: 6.068 MB / 0.6257 GB, free: 63.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-05/1.275, allocations: 7.438 kB / 0.6257 GB, free: 63.83 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002953/1.278, allocations: 435.2 kB / 0.6262 GB, free: 63.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001735/1.28, allocations: 463.6 kB / 0.6266 GB, free: 63.09 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004442/1.28, allocations: 67.64 kB / 0.6267 GB, free: 63.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009433/1.29, allocations: 6.094 MB / 0.6326 GB, free: 56.88 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.656e-06/1.29, allocations: 0 / 0.6326 GB, free: 56.88 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/1.3, allocations: 4.647 MB / 0.6372 GB, free: 52.04 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/1.302, allocations: 0.5526 MB / 0.6377 GB, free: 51.47 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006638/1.302, allocations: 64 kB / 0.6378 GB, free: 51.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002102/1.304, allocations: 179.8 kB / 0.6379 GB, free: 51.23 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006228/1.305, allocations: 217.6 kB / 0.6381 GB, free: 51.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000251/1.305, allocations: 79.97 kB / 0.6382 GB, free: 50.94 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001945/1.307, allocations: 1.01 MB / 0.6392 GB, free: 49.94 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.02e-06/1.307, allocations: 0 / 0.6392 GB, free: 49.94 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004665/1.312, allocations: 1.043 MB / 0.6402 GB, free: 48.89 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.003435/1.315, allocations: 0.9555 MB / 0.6411 GB, free: 48.12 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01055/1.326, allocations: 5.332 MB / 0.6464 GB, free: 42.61 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.434e-06/1.326, allocations: 256 / 0.6464 GB, free: 42.61 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004422/1.331, allocations: 1.8 MB / 0.6481 GB, free: 40.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/1.333, allocations: 340.4 kB / 0.6484 GB, free: 40.47 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009641/1.343, allocations: 4.094 MB / 0.6524 GB, free: 36.33 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001665/1.344, allocations: 1.783 MB / 0.6542 GB, free: 34.51 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003387/1.348, allocations: 0.752 MB / 0.6549 GB, free: 33.77 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007587/1.348, allocations: 155.4 kB / 0.6551 GB, free: 33.62 MB / 458.7 MB Notification: Performance of SimCode: time 1.636e-06/1.348, allocations: 4 kB / 0.6551 GB, free: 33.62 MB / 458.7 MB Notification: Performance of Templates: time 0.08428/1.433, allocations: 38.41 MB / 0.6926 GB, free: 11.23 MB / 474.7 MB