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.371/2.371, allocations: 232.9 MB / 248.1 MB, free: 10.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.52e-05/3.521e-05, allocations: 7.984 kB / 304.4 MB, free: 1.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3676, allocations: 53.21 MB / 357.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.008373/0.3761, allocations: 4.771 MB / 362.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005508/0.3816, allocations: 1.973 MB / 364.3 MB, free: 9.191 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009358/0.3826, allocations: 46.75 kB / 364.4 MB, free: 9.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005051/0.3831, allocations: 93.16 kB / 364.5 MB, free: 9.098 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.3846, allocations: 281.5 kB / 364.7 MB, free: 8.848 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.3861, allocations: 344.4 kB / 365.1 MB, free: 8.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001483/0.3876, allocations: 455.1 kB / 365.5 MB, free: 8.242 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001472/0.3891, allocations: 0.5186 MB / 366 MB, free: 7.836 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007248/0.3899, allocations: 249 kB / 366.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000501/0.3904, allocations: 236.5 kB / 366.5 MB, free: 7.543 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005839/0.391, allocations: 157.5 kB / 366.7 MB, free: 7.469 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.3911, allocations: 23.22 kB / 366.7 MB, free: 7.469 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002323/0.3914, allocations: 131.4 kB / 366.8 MB, free: 7.383 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.3915, allocations: 44.22 kB / 366.9 MB, free: 7.383 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.3929, allocations: 0.7521 MB / 367.6 MB, free: 6.836 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.393, allocations: 3.938 kB / 367.6 MB, free: 6.832 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.075e-06/0.393, allocations: 0 / 367.6 MB, free: 6.832 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.948e-05/0.393, allocations: 0 / 367.6 MB, free: 6.832 MB / 298.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.002422/0.3954, allocations: 0.8739 MB / 368.5 MB, free: 6.129 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.3955, allocations: 9.469 kB / 368.5 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.397, allocations: 168.3 kB / 368.7 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/0.3988, allocations: 0.5456 MB / 369.2 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.102e-05/0.3989, allocations: 45.38 kB / 369.2 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/0.399, allocations: 65.47 kB / 369.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002334/0.4014, allocations: 0.724 MB / 370 MB, free: 4.969 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.642e-05/0.4015, allocations: 7.938 kB / 370 MB, free: 4.961 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.867e-05/0.4016, allocations: 23.95 kB / 370.1 MB, free: 4.938 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.16e-05/0.4017, allocations: 29.3 kB / 370.1 MB, free: 4.906 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002361/0.404, allocations: 0.6492 MB / 370.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007013/0.4111, allocations: 2.549 MB / 373.3 MB, free: 1.613 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003022/0.4141, allocations: 0.7862 MB / 374.1 MB, free: 0.793 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.303e-05/0.4143, allocations: 8.438 kB / 374.1 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.138e-05/0.4143, allocations: 50.98 kB / 374.1 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 3.557e-06/0.4143, allocations: 0 / 374.1 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of matching and sorting (n=49): time 0.003219/0.4176, allocations: 0.7795 MB / 374.9 MB, free: 15.94 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.783e-05/0.4177, allocations: 107.2 kB / 375 MB, free: 15.81 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.419, allocations: 494.2 kB / 375.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.395e-05/0.4192, allocations: 37.7 kB / 375.5 MB, free: 15.28 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003507/0.4195, allocations: 355.8 kB / 375.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/0.4198, allocations: 173.5 kB / 376.1 MB, free: 14.76 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.4199, allocations: 8 kB / 376.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.4201, allocations: 330.8 kB / 376.4 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009233/0.421, allocations: 229 kB / 376.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.4221, allocations: 337.1 kB / 376.9 MB, free: 13.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.4231, allocations: 260.7 kB / 377.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.4231, allocations: 4 kB / 377.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002995/0.4261, allocations: 0.7462 MB / 377.9 MB, free: 12.81 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000579/0.4268, allocations: 1.049 MB / 379 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.4268, allocations: 7.953 kB / 379 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00074/0.4275, allocations: 132.7 kB / 379.1 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.4287, allocations: 143.8 kB / 379.3 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.4299, allocations: 0.7163 MB / 380 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.431, allocations: 103.4 kB / 380.1 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-05/0.4311, allocations: 20 kB / 380.1 MB, free: 10.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.4311, allocations: 8.062 kB / 380.1 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002355/0.4335, allocations: 0.624 MB / 380.7 MB, free: 9.902 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.4336, allocations: 8.031 kB / 380.7 MB, free: 9.895 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004013/0.434, allocations: 84.84 kB / 380.8 MB, free: 9.809 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.4351, allocations: 139.8 kB / 381 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003177/0.4383, allocations: 1.944 MB / 382.9 MB, free: 7.594 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006458/0.439, allocations: 59.72 kB / 383 MB, free: 7.535 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.114e-05/0.439, allocations: 20 kB / 383 MB, free: 7.516 MB / 314.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.0005196/0.4396, allocations: 217.5 kB / 383.2 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002576/0.4398, allocations: 71.14 kB / 383.3 MB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/0.4421, allocations: 0.6157 MB / 383.9 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.4421, allocations: 4 kB / 383.9 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4421, allocations: 4 kB / 383.9 MB, free: 6.598 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.4422, allocations: 7.984 kB / 383.9 MB, free: 6.59 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003736/0.4459, allocations: 1.341 MB / 385.2 MB, free: 5.188 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.446, allocations: 8 kB / 385.3 MB, free: 5.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/0.4472, allocations: 119.9 kB / 385.4 MB, free: 5.062 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/0.4472, allocations: 4 kB / 385.4 MB, free: 5.059 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.129e-05/0.4473, allocations: 12 kB / 385.4 MB, free: 5.047 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.398e-06/0.4473, allocations: 0 / 385.4 MB, free: 5.047 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.4473, allocations: 11.94 kB / 385.4 MB, free: 5.035 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003264/0.4506, allocations: 0.985 MB / 386.4 MB, free: 4.027 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004309/0.451, allocations: 188.2 kB / 386.6 MB, free: 3.824 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.4512, allocations: 12 kB / 386.6 MB, free: 3.812 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007729/0.452, allocations: 43.95 kB / 386.6 MB, free: 3.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.4521, allocations: 44.38 kB / 386.7 MB, free: 3.723 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.336e-05/0.4522, allocations: 15.98 kB / 386.7 MB, free: 3.707 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009409/0.4532, allocations: 383.2 kB / 387.1 MB, free: 3.336 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.4532, allocations: 0 / 387.1 MB, free: 3.336 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001146/0.4543, allocations: 251.2 kB / 387.3 MB, free: 3.09 MB / 314.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.000204/0.4545, allocations: 119.1 kB / 387.4 MB, free: 2.965 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003622/0.4582, allocations: 0.9869 MB / 388.4 MB, free: 1.965 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.4582, allocations: 448 / 388.4 MB, free: 1.965 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.4593, allocations: 282.4 kB / 388.7 MB, free: 1.691 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.4605, allocations: 119 kB / 388.8 MB, free: 1.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004994/0.4655, allocations: 1.792 MB / 390.6 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007446/0.4663, allocations: 0.9415 MB / 391.5 MB, free: 14.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003705/0.4667, allocations: 47.44 kB / 391.6 MB, free: 14.73 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.4667, allocations: 0 / 391.6 MB, free: 14.73 MB / 330.7 MB Notification: Performance of Templates: time 0.02192/0.4886, allocations: 8.892 MB / 400.5 MB, free: 5.844 MB / 330.7 MB