Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") Notification: Performance of loadModel(PowerSystems): time 2.135/2.135, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.109e-05/3.117e-05, allocations: 4 kB / 302.2 MB, free: 7.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09024/0.09029, allocations: 53.24 MB / 355.4 MB, free: 2.125 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.375/0.4653, allocations: 97.23 MB / 452.7 MB, free: 4.512 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.4656, allocations: 79.95 kB / 452.7 MB, free: 4.434 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08388/0.5495, allocations: 21.5 MB / 474.2 MB, free: 14.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.5496, allocations: 7.938 kB / 474.3 MB, free: 14.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.872e-05/0.5497, allocations: 16 kB / 474.3 MB, free: 14.76 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002046/0.5517, allocations: 0.9015 MB / 475.2 MB, free: 13.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.5518, allocations: 12.03 kB / 475.2 MB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/0.5533, allocations: 166.8 kB / 475.3 MB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.5547, allocations: 0.5484 MB / 475.9 MB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.207e-05/0.5548, allocations: 49.81 kB / 475.9 MB, free: 13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.5549, allocations: 55.95 kB / 476 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.5565, allocations: 0.645 MB / 476.6 MB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.699e-05/0.5566, allocations: 11.83 kB / 476.7 MB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.489e-05/0.5567, allocations: 20 kB / 476.7 MB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.965e-05/0.5568, allocations: 29.31 kB / 476.7 MB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.5582, allocations: 0.5336 MB / 477.2 MB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005641/0.5638, allocations: 2.532 MB / 479.8 MB, free: 9.047 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.5653, allocations: 0.5935 MB / 480.4 MB, free: 8.406 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000448/0.5658, allocations: 191.1 kB / 480.6 MB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.349e-05/0.5659, allocations: 8.375 kB / 480.6 MB, free: 8.207 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/0.5659, allocations: 43.03 kB / 480.6 MB, free: 8.156 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 4.087e-06/0.5659, allocations: 0 / 480.6 MB, free: 8.156 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.001172/0.5671, allocations: 435.3 kB / 481 MB, free: 7.723 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.06e-05/0.5672, allocations: 111.3 kB / 481.1 MB, free: 7.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008157/0.5681, allocations: 453 kB / 481.6 MB, free: 7.137 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.803e-05/0.5681, allocations: 41.64 kB / 481.6 MB, free: 7.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003449/0.5685, allocations: 321.2 kB / 481.9 MB, free: 6.773 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/0.5687, allocations: 177.4 kB / 482.1 MB, free: 6.598 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.5688, allocations: 8 kB / 482.1 MB, free: 6.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002289/0.569, allocations: 370.8 kB / 482.5 MB, free: 6.219 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004326/0.5695, allocations: 165.1 kB / 482.6 MB, free: 6.059 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005223/0.57, allocations: 264.1 kB / 482.9 MB, free: 5.766 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005039/0.5705, allocations: 201.6 kB / 483.1 MB, free: 5.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.143e-06/0.5705, allocations: 4 kB / 483.1 MB, free: 5.566 MB / 410.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001788/0.5723, allocations: 0.6367 MB / 483.7 MB, free: 4.918 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005618/0.5729, allocations: 1.045 MB / 484.8 MB, free: 3.793 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.5729, allocations: 7.938 kB / 484.8 MB, free: 3.785 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004796/0.5734, allocations: 108.7 kB / 484.9 MB, free: 3.676 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007758/0.5742, allocations: 123.9 kB / 485 MB, free: 3.555 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008247/0.5751, allocations: 0.6752 MB / 485.7 MB, free: 2.855 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006838/0.5758, allocations: 91.41 kB / 485.8 MB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.913e-05/0.5759, allocations: 27.94 kB / 485.8 MB, free: 2.738 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.5759, allocations: 0 / 485.8 MB, free: 2.738 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001371/0.5773, allocations: 0.5107 MB / 486.3 MB, free: 2.223 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.901e-06/0.5773, allocations: 4 kB / 486.3 MB, free: 2.219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003653/0.5777, allocations: 84.8 kB / 486.4 MB, free: 2.133 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007508/0.5784, allocations: 128.1 kB / 486.5 MB, free: 2.008 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/0.5813, allocations: 1.925 MB / 488.4 MB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000685/0.582, allocations: 67.5 kB / 488.5 MB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.337e-05/0.5821, allocations: 20.09 kB / 488.5 MB, free: 15.86 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002142/0.5823, allocations: 148.7 kB / 488.7 MB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.5825, allocations: 67.19 kB / 488.7 MB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.5837, allocations: 486.4 kB / 489.2 MB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.443e-06/0.5837, allocations: 4 kB / 489.2 MB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.5837, allocations: 0 / 489.2 MB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.5838, allocations: 3.984 kB / 489.2 MB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002431/0.5862, allocations: 1.177 MB / 490.4 MB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.995e-06/0.5862, allocations: 0 / 490.4 MB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008592/0.5871, allocations: 119.8 kB / 490.5 MB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.914e-06/0.5871, allocations: 0 / 490.5 MB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.759e-05/0.5872, allocations: 12 kB / 490.5 MB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.239e-06/0.5872, allocations: 4 kB / 490.5 MB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.717e-06/0.5872, allocations: 0 / 490.5 MB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.589, allocations: 0.786 MB / 491.3 MB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003671/0.5894, allocations: 184.2 kB / 491.5 MB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.5895, allocations: 15.98 kB / 491.5 MB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005934/0.5901, allocations: 47.97 kB / 491.6 MB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.5902, allocations: 44.31 kB / 491.6 MB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.998e-05/0.5903, allocations: 12 kB / 491.6 MB, free: 12.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006498/0.591, allocations: 361.6 kB / 492 MB, free: 12.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.69e-07/0.591, allocations: 0 / 492 MB, free: 12.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00113/0.5921, allocations: 259.2 kB / 492.2 MB, free: 12.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (powerPlant.rotor.phi,powerPlant.rotor.w,powerPlant.evaporator.y,powerPlant.superheater1.y,powerPlant.superheater2.y,powerPlant.transferFunction.x_scaled[1],powerPlant.hotwellLevel.y,powerPlant.throttleDynamics.y,powerPlant.throttleCosts.y) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002174/0.5924, allocations: 115.2 kB / 492.3 MB, free: 11.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00196/0.5943, allocations: 0.7986 MB / 493.1 MB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.095e-06/0.5944, allocations: 4 kB / 493.1 MB, free: 11.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005042/0.5949, allocations: 209.5 kB / 493.3 MB, free: 10.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007616/0.5957, allocations: 99.45 kB / 493.4 MB, free: 10.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003095/0.5988, allocations: 1.134 MB / 494.6 MB, free: 9.652 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007672/0.5996, allocations: 0.9389 MB / 495.5 MB, free: 8.688 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009333/0.6005, allocations: 162.6 kB / 495.7 MB, free: 8.527 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.6007, allocations: 35.44 kB / 495.7 MB, free: 8.492 MB / 426.7 MB Notification: Performance of SimCode: time 1.69e-06/0.6007, allocations: 0 / 495.7 MB, free: 8.492 MB / 426.7 MB Notification: Performance of Templates: time 0.02151/0.6223, allocations: 7.655 MB / 0.4916 GB, free: 0.8633 MB / 426.7 MB