Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1") Notification: Performance of loadModel(PowerSystems): time 2.237/2.237, allocations: 233 MB / 246.1 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.793e-05/3.813e-05, allocations: 7.938 kB / 302.2 MB, free: 7.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09378/0.09384, allocations: 53.22 MB / 355.4 MB, free: 2.137 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3748/0.4687, allocations: 95.82 MB / 451.2 MB, free: 5.941 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.469, allocations: 83.95 kB / 451.3 MB, free: 5.859 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0707/0.5397, allocations: 18.43 MB / 469.8 MB, free: 3.297 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.089e-06/0.5398, allocations: 0 / 469.8 MB, free: 3.297 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.388e-05/0.5398, allocations: 19.98 kB / 469.8 MB, free: 3.277 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.0018/0.5417, allocations: 0.8264 MB / 470.6 MB, free: 2.402 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.5417, allocations: 12.03 kB / 470.6 MB, free: 2.391 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.5431, allocations: 151 kB / 470.8 MB, free: 2.242 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.5442, allocations: 492.1 kB / 471.2 MB, free: 1.715 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.475e-05/0.5442, allocations: 41.5 kB / 471.3 MB, free: 1.676 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.5444, allocations: 51.95 kB / 471.3 MB, free: 1.625 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.5458, allocations: 0.5754 MB / 471.9 MB, free: 1.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.5458, allocations: 0 / 471.9 MB, free: 1.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.64e-05/0.5459, allocations: 16 kB / 471.9 MB, free: 1.004 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.704e-05/0.546, allocations: 32.98 kB / 472 MB, free: 0.9727 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.5472, allocations: 481.8 kB / 472.4 MB, free: 0.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005056/0.5523, allocations: 2.521 MB / 475 MB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.5536, allocations: 0.5104 MB / 475.5 MB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000397/0.5541, allocations: 166.2 kB / 475.6 MB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.243e-05/0.5541, allocations: 4 kB / 475.6 MB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005561/0.5547, allocations: 252.3 kB / 475.9 MB, free: 12.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 3.689e-06/0.5547, allocations: 4 kB / 475.9 MB, free: 12.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001149/0.5559, allocations: 393.3 kB / 476.3 MB, free: 12.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.845e-05/0.556, allocations: 132.5 kB / 476.4 MB, free: 12.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006924/0.5567, allocations: 391.1 kB / 476.8 MB, free: 11.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.629e-05/0.5568, allocations: 33.7 kB / 476.8 MB, free: 11.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003069/0.5571, allocations: 288.2 kB / 477.1 MB, free: 11.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.5573, allocations: 134.1 kB / 477.2 MB, free: 11.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.5573, allocations: 16.39 kB / 477.2 MB, free: 11.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.5576, allocations: 358.8 kB / 477.6 MB, free: 11.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.5579, allocations: 133.1 kB / 477.7 MB, free: 10.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004758/0.5584, allocations: 248.4 kB / 478 MB, free: 10.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004604/0.5589, allocations: 193.6 kB / 478.1 MB, free: 10.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.075e-06/0.5589, allocations: 0 / 478.1 MB, free: 10.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001721/0.5607, allocations: 0.6202 MB / 478.8 MB, free: 9.836 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006448/0.5613, allocations: 1.163 MB / 479.9 MB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.5614, allocations: 4 kB / 479.9 MB, free: 8.574 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005916/0.562, allocations: 134 kB / 480.1 MB, free: 8.441 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005059/0.5625, allocations: 91.88 kB / 480.2 MB, free: 8.352 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000994/0.5635, allocations: 0.7475 MB / 480.9 MB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006807/0.5642, allocations: 87.48 kB / 481 MB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.08e-05/0.5643, allocations: 20 kB / 481 MB, free: 7.473 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.5643, allocations: 4 kB / 481 MB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001365/0.5657, allocations: 0.506 MB / 481.5 MB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.353e-06/0.5657, allocations: 4 kB / 481.5 MB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004585/0.5662, allocations: 112.8 kB / 481.6 MB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004787/0.5667, allocations: 92.06 kB / 481.7 MB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003355/0.5701, allocations: 2.155 MB / 483.9 MB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006537/0.5707, allocations: 71.55 kB / 483.9 MB, free: 4.387 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.465e-05/0.5708, allocations: 16.09 kB / 484 MB, free: 4.371 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.0002086/0.571, allocations: 140.9 kB / 484.1 MB, free: 4.227 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.5712, allocations: 47.44 kB / 484.1 MB, free: 4.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.5723, allocations: 432.3 kB / 484.6 MB, free: 3.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.269e-06/0.5723, allocations: 4 kB / 484.6 MB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.555e-06/0.5724, allocations: 0 / 484.6 MB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.5724, allocations: 7.984 kB / 484.6 MB, free: 3.738 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/0.5745, allocations: 1.03 MB / 485.6 MB, free: 2.648 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.568e-06/0.5745, allocations: 0 / 485.6 MB, free: 2.648 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006251/0.5752, allocations: 91.88 kB / 485.7 MB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001447/0.5753, allocations: 28.84 kB / 485.7 MB, free: 2.527 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.945e-05/0.5754, allocations: 16 kB / 485.7 MB, free: 2.512 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001409/0.5768, allocations: 1.351 MB / 487.1 MB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.459e-06/0.5769, allocations: 0 / 487.1 MB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.5784, allocations: 0.7197 MB / 487.8 MB, free: 276 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003168/0.5788, allocations: 168.4 kB / 488 MB, free: 88 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.695e-05/0.5789, allocations: 8 kB / 488 MB, free: 80 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000556/0.5794, allocations: 55.94 kB / 488 MB, free: 24 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.5796, allocations: 32 kB / 488.1 MB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.824e-05/0.5797, allocations: 16 kB / 488.1 MB, free: 15.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000535/0.5802, allocations: 309.1 kB / 488.4 MB, free: 15.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.57e-07/0.5802, allocations: 0 / 488.4 MB, free: 15.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001118/0.5814, allocations: 243.4 kB / 488.6 MB, free: 15.44 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.0002415/0.5816, allocations: 131.1 kB / 488.8 MB, free: 15.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001876/0.5835, allocations: 0.8171 MB / 489.6 MB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.19e-06/0.5835, allocations: 384 / 489.6 MB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005985/0.5842, allocations: 289.6 kB / 489.9 MB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006958/0.5849, allocations: 98.67 kB / 490 MB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.5871, allocations: 0.8797 MB / 490.8 MB, free: 13.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006945/0.5878, allocations: 0.8992 MB / 491.7 MB, free: 12.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007316/0.5886, allocations: 138 kB / 491.9 MB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.5887, allocations: 27.44 kB / 491.9 MB, free: 12.06 MB / 426.7 MB Notification: Performance of SimCode: time 1.69e-06/0.5888, allocations: 4 kB / 491.9 MB, free: 12.06 MB / 426.7 MB Notification: Performance of Templates: time 0.02104/0.6098, allocations: 7.383 MB / 499.3 MB, free: 4.703 MB / 426.7 MB