Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1") Notification: Performance of loadModel(PowerSystems): time 2.23/2.23, allocations: 233 MB / 246.1 MB, free: 14.78 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.096e-05/3.107e-05, allocations: 7.938 kB / 302.2 MB, free: 7.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09154/0.09159, allocations: 53.22 MB / 355.4 MB, free: 2.129 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3733/0.4649, allocations: 95.82 MB / 451.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.4652, allocations: 83.95 kB / 451.3 MB, free: 5.828 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07105/0.5363, allocations: 18.43 MB / 469.8 MB, free: 3.258 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.927e-06/0.5363, allocations: 0 / 469.8 MB, free: 3.258 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.427e-05/0.5364, allocations: 20 kB / 469.8 MB, free: 3.238 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001805/0.5382, allocations: 0.8304 MB / 470.6 MB, free: 2.359 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.5383, allocations: 12.03 kB / 470.6 MB, free: 2.348 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.5396, allocations: 151 kB / 470.8 MB, free: 2.199 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.5406, allocations: 488 kB / 471.3 MB, free: 1.676 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.916e-05/0.5407, allocations: 33.52 kB / 471.3 MB, free: 1.645 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.5408, allocations: 51.95 kB / 471.3 MB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.5422, allocations: 0.5754 MB / 471.9 MB, free: 0.9883 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.5422, allocations: 0 / 471.9 MB, free: 0.9883 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.789e-05/0.5423, allocations: 20 kB / 471.9 MB, free: 0.9688 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.432e-05/0.5424, allocations: 28.98 kB / 472 MB, free: 0.9414 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.5436, allocations: 485.8 kB / 472.4 MB, free: 476 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005082/0.5487, allocations: 2.521 MB / 475 MB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.55, allocations: 0.5065 MB / 475.5 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003898/0.5504, allocations: 166.3 kB / 475.6 MB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.5505, allocations: 4 kB / 475.6 MB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005428/0.551, allocations: 248.2 kB / 475.9 MB, free: 12.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 3.932e-06/0.5511, allocations: 0 / 475.9 MB, free: 12.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001102/0.5522, allocations: 397.3 kB / 476.3 MB, free: 12.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.5523, allocations: 136.5 kB / 476.4 MB, free: 12.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006765/0.553, allocations: 391.2 kB / 476.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.554e-05/0.5531, allocations: 37.7 kB / 476.8 MB, free: 11.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.5534, allocations: 292.1 kB / 477.1 MB, free: 11.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.5536, allocations: 130.4 kB / 477.2 MB, free: 11.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.5536, allocations: 8 kB / 477.2 MB, free: 11.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002194/0.5538, allocations: 366.7 kB / 477.6 MB, free: 11.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/0.5542, allocations: 133.1 kB / 477.7 MB, free: 10.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004648/0.5547, allocations: 240.5 kB / 478 MB, free: 10.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004561/0.5552, allocations: 193.5 kB / 478.1 MB, free: 10.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.754e-06/0.5552, allocations: 4 kB / 478.1 MB, free: 10.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001735/0.5569, allocations: 0.6203 MB / 478.8 MB, free: 9.805 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006553/0.5576, allocations: 1.163 MB / 479.9 MB, free: 8.547 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.5577, allocations: 7.938 kB / 479.9 MB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005818/0.5582, allocations: 124.8 kB / 480.1 MB, free: 8.414 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005081/0.5588, allocations: 95.81 kB / 480.2 MB, free: 8.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009708/0.5598, allocations: 0.7485 MB / 480.9 MB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000642/0.5604, allocations: 75.48 kB / 481 MB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.978e-05/0.5605, allocations: 20 kB / 481 MB, free: 7.453 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.5605, allocations: 4.625 kB / 481 MB, free: 7.449 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001362/0.5619, allocations: 0.5097 MB / 481.5 MB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.099e-06/0.5619, allocations: 4 kB / 481.5 MB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004944/0.5624, allocations: 125.2 kB / 481.6 MB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/0.5629, allocations: 87.88 kB / 481.7 MB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00326/0.5662, allocations: 2.151 MB / 483.9 MB, free: 4.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006278/0.5669, allocations: 79.61 kB / 483.9 MB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.848e-05/0.5669, allocations: 16 kB / 484 MB, free: 4.336 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (system.initime,$whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 41 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001959/0.5671, allocations: 128.9 kB / 484.1 MB, free: 4.203 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.5673, allocations: 51.42 kB / 484.1 MB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.5684, allocations: 432.3 kB / 484.6 MB, free: 3.723 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.5684, allocations: 4 kB / 484.6 MB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.493e-06/0.5684, allocations: 0 / 484.6 MB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.5684, allocations: 7.922 kB / 484.6 MB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.5705, allocations: 1.03 MB / 485.6 MB, free: 2.621 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.977e-06/0.5706, allocations: 0 / 485.6 MB, free: 2.621 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006173/0.5712, allocations: 99.86 kB / 485.7 MB, free: 2.523 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001451/0.5713, allocations: 28.84 kB / 485.7 MB, free: 2.492 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.633e-05/0.5714, allocations: 8 kB / 485.7 MB, free: 2.484 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/0.5728, allocations: 1.355 MB / 487.1 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.5728, allocations: 0 / 487.1 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.5744, allocations: 0.7158 MB / 487.8 MB, free: 248 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003005/0.5747, allocations: 172.3 kB / 488 MB, free: 56 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.597e-05/0.5748, allocations: 15.98 kB / 488 MB, free: 40 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005565/0.5754, allocations: 44.02 kB / 488 MB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.5755, allocations: 39.89 kB / 488.1 MB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.231e-05/0.5756, allocations: 11.98 kB / 488.1 MB, free: 15.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005395/0.5761, allocations: 309.2 kB / 488.4 MB, free: 15.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.006e-06/0.5762, allocations: 96 / 488.4 MB, free: 15.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001162/0.5773, allocations: 247.3 kB / 488.6 MB, free: 15.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00024/0.5776, allocations: 119.1 kB / 488.7 MB, free: 15.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001868/0.5795, allocations: 0.8281 MB / 489.6 MB, free: 14.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.901e-06/0.5795, allocations: 0 / 489.6 MB, free: 14.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005928/0.5801, allocations: 285.6 kB / 489.9 MB, free: 14.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006914/0.5808, allocations: 97.89 kB / 489.9 MB, free: 14.03 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.5831, allocations: 0.8772 MB / 490.8 MB, free: 13.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006825/0.5838, allocations: 0.8992 MB / 491.7 MB, free: 12.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007289/0.5845, allocations: 146.1 kB / 491.9 MB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.5847, allocations: 27.44 kB / 491.9 MB, free: 12.02 MB / 426.7 MB Notification: Performance of SimCode: time 1.734e-06/0.5847, allocations: 0 / 491.9 MB, free: 12.02 MB / 426.7 MB Notification: Performance of Templates: time 0.02075/0.6054, allocations: 7.381 MB / 499.3 MB, free: 4.672 MB / 426.7 MB