Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") Notification: Performance of loadModel(PowerSystems): time 2.203/2.203, allocations: 233 MB / 245.6 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.803e-05/2.819e-05, allocations: 3.938 kB / 301.3 MB, free: 7.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08936/0.08941, allocations: 53.25 MB / 354.5 MB, free: 2.621 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3728/0.4622, allocations: 97.44 MB / 451.9 MB, free: 4.609 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.4625, allocations: 87.94 kB / 452 MB, free: 4.523 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08393/0.5465, allocations: 21.64 MB / 473.7 MB, free: 14.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.062e-06/0.5465, allocations: 0 / 473.7 MB, free: 14.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.189e-05/0.5466, allocations: 19.94 kB / 473.7 MB, free: 14.71 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.002014/0.5486, allocations: 0.9132 MB / 474.6 MB, free: 13.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.5487, allocations: 8.031 kB / 474.6 MB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.55, allocations: 174.8 kB / 474.8 MB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.5512, allocations: 0.5545 MB / 475.3 MB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.313e-05/0.5514, allocations: 45.81 kB / 475.4 MB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.5515, allocations: 63.86 kB / 475.4 MB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.553, allocations: 0.6527 MB / 476.1 MB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.5531, allocations: 0 / 476.1 MB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.878e-05/0.5532, allocations: 23.98 kB / 476.1 MB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.573e-05/0.5532, allocations: 29.31 kB / 476.1 MB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.5546, allocations: 0.5375 MB / 476.7 MB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005393/0.56, allocations: 2.559 MB / 479.2 MB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.5616, allocations: 0.6131 MB / 479.9 MB, free: 8.285 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004568/0.5621, allocations: 207 kB / 480.1 MB, free: 8.078 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.168e-05/0.5622, allocations: 8.438 kB / 480.1 MB, free: 8.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.5622, allocations: 39 kB / 480.1 MB, free: 8.023 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 3.887e-06/0.5622, allocations: 4 kB / 480.1 MB, free: 8.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.001171/0.5634, allocations: 447.4 kB / 480.5 MB, free: 7.574 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.098e-05/0.5635, allocations: 115.2 kB / 480.7 MB, free: 7.438 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007654/0.5643, allocations: 449 kB / 481.1 MB, free: 6.988 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.72e-05/0.5644, allocations: 33.7 kB / 481.1 MB, free: 6.949 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/0.5647, allocations: 355 kB / 481.5 MB, free: 6.602 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.5649, allocations: 173.5 kB / 481.6 MB, free: 6.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.565, allocations: 12 kB / 481.7 MB, free: 6.418 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.5652, allocations: 330.8 kB / 482 MB, free: 6.086 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004386/0.5656, allocations: 165.1 kB / 482.1 MB, free: 5.926 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005356/0.5662, allocations: 272 kB / 482.4 MB, free: 5.625 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005004/0.5667, allocations: 197.6 kB / 482.6 MB, free: 5.434 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.5667, allocations: 4 kB / 482.6 MB, free: 5.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001673/0.5684, allocations: 0.6057 MB / 483.2 MB, free: 4.812 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005346/0.5689, allocations: 1.053 MB / 484.3 MB, free: 3.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.569, allocations: 4 kB / 484.3 MB, free: 3.676 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004623/0.5694, allocations: 104.8 kB / 484.4 MB, free: 3.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007632/0.5702, allocations: 139.8 kB / 484.5 MB, free: 3.434 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007866/0.571, allocations: 0.6773 MB / 485.2 MB, free: 2.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000649/0.5717, allocations: 91.45 kB / 485.3 MB, free: 2.641 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.247e-05/0.5718, allocations: 20 kB / 485.3 MB, free: 2.621 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.5718, allocations: 7.953 kB / 485.3 MB, free: 2.613 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001347/0.5732, allocations: 0.5146 MB / 485.8 MB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.5732, allocations: 7.984 kB / 485.8 MB, free: 2.086 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003116/0.5735, allocations: 84.77 kB / 485.9 MB, free: 2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007321/0.5743, allocations: 136.1 kB / 486 MB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002647/0.5769, allocations: 1.907 MB / 487.9 MB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003983/0.5773, allocations: 55.66 kB / 488 MB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.227e-05/0.5774, allocations: 20 kB / 488 MB, free: 15.76 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 (57): * Single equations (assignments): 56 * 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.0002004/0.5776, allocations: 144.8 kB / 488.2 MB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/0.5778, allocations: 67.44 kB / 488.2 MB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.5791, allocations: 499.2 kB / 488.7 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.5791, allocations: 8 kB / 488.7 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.134e-06/0.5791, allocations: 3.938 kB / 488.7 MB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.5791, allocations: 3.984 kB / 488.7 MB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002379/0.5815, allocations: 1.193 MB / 489.9 MB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.5816, allocations: 4 kB / 489.9 MB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000832/0.5824, allocations: 119.9 kB / 490 MB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.5824, allocations: 4 kB / 490 MB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.505e-05/0.5825, allocations: 12 kB / 490.1 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.907e-06/0.5825, allocations: 0 / 490.1 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.477e-06/0.5825, allocations: 4 kB / 490.1 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.5842, allocations: 0.8133 MB / 490.9 MB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00033/0.5846, allocations: 188.1 kB / 491.1 MB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.5847, allocations: 12 kB / 491.1 MB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005393/0.5852, allocations: 55.95 kB / 491.1 MB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.5854, allocations: 36.38 kB / 491.2 MB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-05/0.5854, allocations: 12 kB / 491.2 MB, free: 12.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006203/0.5861, allocations: 365.5 kB / 491.5 MB, free: 12.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.11e-07/0.5861, allocations: 0 / 491.5 MB, free: 12.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001076/0.5872, allocations: 255.2 kB / 491.8 MB, free: 11.87 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 (50): * Single equations (assignments): 49 * 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.0002103/0.5874, allocations: 127.2 kB / 491.9 MB, free: 11.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001844/0.5893, allocations: 0.7886 MB / 492.7 MB, free: 10.94 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.5893, allocations: 0 / 492.7 MB, free: 10.94 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005117/0.5898, allocations: 213.6 kB / 492.9 MB, free: 10.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006866/0.5905, allocations: 120.9 kB / 493 MB, free: 10.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.5935, allocations: 1.169 MB / 494.2 MB, free: 9.418 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007469/0.5942, allocations: 0.9419 MB / 495.1 MB, free: 8.449 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.5945, allocations: 47.42 kB / 495.2 MB, free: 8.402 MB / 426.7 MB Notification: Performance of SimCode: time 1.744e-06/0.5945, allocations: 0 / 495.2 MB, free: 8.402 MB / 426.7 MB Notification: Performance of Templates: time 0.01582/0.6103, allocations: 8.866 MB / 0.4922 GB, free: 15.54 MB / 442.7 MB