Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2") Notification: Performance of loadModel(PowerSystems): time 2.182/2.182, allocations: 233 MB / 246.1 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.464e-05/3.472e-05, allocations: 7.938 kB / 302.2 MB, free: 7.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0914/0.09146, allocations: 53.24 MB / 355.4 MB, free: 2.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3723/0.4638, allocations: 97.79 MB / 453.2 MB, free: 3.961 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.4641, allocations: 83.95 kB / 453.3 MB, free: 3.879 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09147/0.5556, allocations: 24.23 MB / 477.5 MB, free: 11.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.23e-06/0.5556, allocations: 0 / 477.5 MB, free: 11.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.566e-05/0.5557, allocations: 16 kB / 477.6 MB, free: 11.44 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.002009/0.5577, allocations: 0.8975 MB / 478.5 MB, free: 10.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.5578, allocations: 8.031 kB / 478.5 MB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001821/0.5596, allocations: 190.9 kB / 478.6 MB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.5608, allocations: 0.4984 MB / 479.1 MB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.995e-05/0.5608, allocations: 45.25 kB / 479.2 MB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.561, allocations: 56 kB / 479.2 MB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.5627, allocations: 0.6841 MB / 479.9 MB, free: 8.934 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.729e-05/0.5627, allocations: 7.906 kB / 479.9 MB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.963e-05/0.5628, allocations: 23.94 kB / 480 MB, free: 8.902 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001305/0.563, allocations: 41.3 kB / 480 MB, free: 8.863 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.5645, allocations: 0.5999 MB / 480.6 MB, free: 8.262 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005523/0.57, allocations: 2.7 MB / 483.3 MB, free: 5.449 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.5713, allocations: 496 kB / 483.8 MB, free: 4.949 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006807/0.572, allocations: 303 kB / 484.1 MB, free: 4.648 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.653e-05/0.5721, allocations: 12.42 kB / 484.1 MB, free: 4.637 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007785/0.5729, allocations: 372.7 kB / 484.5 MB, free: 4.254 MB / 410.7 MB Notification: Performance of pre-optimization done (n=55): time 3.85e-06/0.5729, allocations: 4 kB / 484.5 MB, free: 4.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.003621/0.5765, allocations: 1.519 MB / 486 MB, free: 2.672 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.712e-05/0.5766, allocations: 115.4 kB / 486.1 MB, free: 2.535 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006271/0.5773, allocations: 375 kB / 486.5 MB, free: 2.172 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.165e-05/0.5774, allocations: 33.7 kB / 486.5 MB, free: 2.133 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/0.5777, allocations: 296.7 kB / 486.8 MB, free: 1.836 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002522/0.578, allocations: 201.1 kB / 487 MB, free: 1.637 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.578, allocations: 8 kB / 487 MB, free: 1.629 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002184/0.5783, allocations: 370.7 kB / 487.3 MB, free: 1.258 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000586/0.5788, allocations: 229.3 kB / 487.6 MB, free: 1.031 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006523/0.5795, allocations: 332.6 kB / 487.9 MB, free: 0.668 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006582/0.5802, allocations: 300.8 kB / 488.2 MB, free: 380 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.5802, allocations: 4 kB / 488.2 MB, free: 376 kB / 410.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002266/0.5825, allocations: 0.853 MB / 489 MB, free: 15.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005481/0.5831, allocations: 0.9834 MB / 490 MB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.5831, allocations: 4 kB / 490 MB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007773/0.5839, allocations: 181.5 kB / 490.2 MB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006912/0.5846, allocations: 123.8 kB / 490.3 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003094/0.5877, allocations: 2.106 MB / 492.4 MB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007708/0.5885, allocations: 75.83 kB / 492.5 MB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-05/0.5886, allocations: 20 kB / 492.5 MB, free: 11.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.5886, allocations: 4 kB / 492.5 MB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002031/0.5907, allocations: 0.758 MB / 493.3 MB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.5907, allocations: 4 kB / 493.3 MB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006711/0.5914, allocations: 153.9 kB / 493.4 MB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006788/0.5921, allocations: 119.8 kB / 493.6 MB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004834/0.597, allocations: 3.534 MB / 497.1 MB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000745/0.5977, allocations: 55.94 kB / 497.2 MB, free: 6.855 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.16e-05/0.5978, allocations: 20 kB / 497.2 MB, free: 6.836 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (system.initime,$whenCondition1,$PRE.secondary.T_start,secondary.T_start,$PRE.secondary.count,secondary.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002662/0.5981, allocations: 157.3 kB / 497.3 MB, free: 6.676 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.5982, allocations: 51.39 kB / 497.4 MB, free: 6.625 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00182/0.6001, allocations: 0.7246 MB / 498.1 MB, free: 5.887 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.6001, allocations: 4 kB / 498.1 MB, free: 5.883 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.254e-06/0.6001, allocations: 7.938 kB / 498.1 MB, free: 5.875 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.6002, allocations: 3.984 kB / 498.1 MB, free: 5.871 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003373/0.6035, allocations: 1.538 MB / 499.7 MB, free: 4.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.614e-06/0.6036, allocations: 192 / 499.7 MB, free: 4.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008377/0.6044, allocations: 139.8 kB / 499.8 MB, free: 4.113 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003087/0.6048, allocations: 65.67 kB / 499.9 MB, free: 4.043 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.424e-05/0.6048, allocations: 12 kB / 499.9 MB, free: 4.031 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002807/0.6077, allocations: 2.69 MB / 0.4908 GB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.2e-06/0.6077, allocations: 7.969 kB / 0.4908 GB, free: 1.059 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002557/0.6103, allocations: 1.224 MB / 0.492 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/0.6107, allocations: 180.4 kB / 0.4922 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.6108, allocations: 23.98 kB / 0.4922 GB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006469/0.6115, allocations: 63.94 kB / 0.4922 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.6117, allocations: 56.44 kB / 0.4923 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.448e-05/0.6117, allocations: 16 kB / 0.4923 GB, free: 15.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005086/0.6123, allocations: 293.2 kB / 0.4926 GB, free: 15.11 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.18e-07/0.6123, allocations: 3.938 kB / 0.4926 GB, free: 15.11 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001251/0.6135, allocations: 268.1 kB / 0.4928 GB, free: 14.84 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (hydroPlant.reservoirLevel.y,hydroPlant.rotor.phi,hydroPlant.rotor.w,hydroPlant.controlDynamics.x_scaled[1]) * Number of discrete variables: 4 (system.initime,$whenCondition1,secondary.T_start,secondary.count) * Number of discrete states: 1 (secondary.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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: 2 {(1,100.0%) 2,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002548/0.6138, allocations: 136 kB / 0.493 GB, free: 14.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003017/0.6168, allocations: 1.41 MB / 0.4944 GB, free: 13.24 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.6169, allocations: 0 / 0.4944 GB, free: 13.24 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.618, allocations: 0.5366 MB / 0.4949 GB, free: 12.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007765/0.6188, allocations: 94.78 kB / 0.495 GB, free: 12.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.6216, allocations: 1.138 MB / 0.4961 GB, free: 11.41 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007924/0.6224, allocations: 0.9473 MB / 0.497 GB, free: 10.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008841/0.6234, allocations: 188.3 kB / 0.4972 GB, free: 10.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.6236, allocations: 43.36 kB / 0.4972 GB, free: 10.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.648e-06/0.6236, allocations: 0 / 0.4972 GB, free: 10.2 MB / 442.7 MB Notification: Performance of Templates: time 0.02454/0.6481, allocations: 9.067 MB / 0.5061 GB, free: 1.164 MB / 442.7 MB