Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") Notification: Performance of loadModel(PowerSystems): time 2.276/2.276, allocations: 232.9 MB / 248.1 MB, free: 10.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.782e-05/2.774e-05, allocations: 7.984 kB / 304.4 MB, free: 1.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.359, allocations: 53.2 MB / 357.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.009068/0.3681, allocations: 5.323 MB / 362.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006457/0.3746, allocations: 2.408 MB / 365.3 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.3759, allocations: 49.03 kB / 365.3 MB, free: 8.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009266/0.3768, allocations: 121.1 kB / 365.5 MB, free: 8.301 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00245/0.3793, allocations: 355.2 kB / 365.8 MB, free: 7.984 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.3815, allocations: 400.2 kB / 366.2 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001636/0.3831, allocations: 499 kB / 366.7 MB, free: 7.301 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.3847, allocations: 0.6066 MB / 367.3 MB, free: 6.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007226/0.3855, allocations: 276.7 kB / 367.6 MB, free: 6.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005679/0.3861, allocations: 272.3 kB / 367.8 MB, free: 6.512 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008693/0.387, allocations: 245.5 kB / 368.1 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.3871, allocations: 27.56 kB / 368.1 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002689/0.3874, allocations: 169.9 kB / 368.3 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.3876, allocations: 49.94 kB / 368.3 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.3892, allocations: 0.8681 MB / 369.2 MB, free: 5.676 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3893, allocations: 0 / 369.2 MB, free: 5.676 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.367e-06/0.3893, allocations: 0 / 369.2 MB, free: 5.676 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.301e-05/0.3893, allocations: 1.062 kB / 369.2 MB, free: 5.676 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002581/0.3919, allocations: 0.9194 MB / 370.1 MB, free: 4.945 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.392, allocations: 8.5 kB / 370.1 MB, free: 4.945 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/0.3942, allocations: 213.1 kB / 370.3 MB, free: 4.738 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001824/0.3961, allocations: 0.5766 MB / 370.9 MB, free: 4.121 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.3962, allocations: 57.23 kB / 371 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.3964, allocations: 63.91 kB / 371 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002423/0.3988, allocations: 0.8231 MB / 371.8 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.304e-05/0.3989, allocations: 15.88 kB / 371.9 MB, free: 3.137 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.399, allocations: 28 kB / 371.9 MB, free: 3.109 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.294e-05/0.3991, allocations: 33.3 kB / 371.9 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002572/0.4017, allocations: 0.7741 MB / 372.7 MB, free: 2.301 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007682/0.4094, allocations: 2.876 MB / 375.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002933/0.4124, allocations: 0.9787 MB / 376.5 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.158e-05/0.4125, allocations: 20.55 kB / 376.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.4126, allocations: 43.12 kB / 376.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 3.968e-06/0.4126, allocations: 0 / 376.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=62): time 0.008583/0.4212, allocations: 2.56 MB / 379.2 MB, free: 11.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.845e-05/0.4213, allocations: 115.3 kB / 379.3 MB, free: 11.4 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.4226, allocations: 494.2 kB / 379.8 MB, free: 10.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.4228, allocations: 45.58 kB / 379.8 MB, free: 10.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003129/0.4231, allocations: 362.9 kB / 380.2 MB, free: 10.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002764/0.4234, allocations: 220.8 kB / 380.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.483e-05/0.4235, allocations: 12 kB / 380.4 MB, free: 10.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.4236, allocations: 342.8 kB / 380.7 MB, free: 9.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.4246, allocations: 261.2 kB / 381 MB, free: 9.676 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.4258, allocations: 387.9 kB / 381.4 MB, free: 9.254 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.4269, allocations: 322.1 kB / 381.7 MB, free: 8.938 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.4269, allocations: 0 / 381.7 MB, free: 8.938 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002674/0.4296, allocations: 0.7764 MB / 382.4 MB, free: 8.152 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004788/0.4301, allocations: 1.141 MB / 383.6 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.4301, allocations: 4 kB / 383.6 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004093/0.4306, allocations: 56.81 kB / 383.6 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.432, allocations: 175.7 kB / 383.8 MB, free: 6.688 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002431/0.4345, allocations: 1.683 MB / 385.5 MB, free: 4.855 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.4357, allocations: 71.98 kB / 385.6 MB, free: 4.785 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.353e-05/0.4358, allocations: 35.98 kB / 385.6 MB, free: 4.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.4358, allocations: 4 kB / 385.6 MB, free: 4.746 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002445/0.4383, allocations: 0.6971 MB / 386.3 MB, free: 4.043 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.4383, allocations: 4 kB / 386.3 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003059/0.4386, allocations: 52.81 kB / 386.4 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.4401, allocations: 171.8 kB / 386.5 MB, free: 3.816 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00246/0.4426, allocations: 1.691 MB / 388.2 MB, free: 1.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006917/0.4433, allocations: 39.97 kB / 388.3 MB, free: 1.941 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-05/0.4434, allocations: 24 kB / 388.3 MB, free: 1.918 MB / 314.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: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005924/0.444, allocations: 249.5 kB / 388.5 MB, free: 1.664 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/0.4442, allocations: 67.16 kB / 388.6 MB, free: 1.598 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00279/0.447, allocations: 0.7838 MB / 389.4 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.4471, allocations: 8 kB / 389.4 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4471, allocations: 3.953 kB / 389.4 MB, free: 0.793 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/0.4471, allocations: 7.969 kB / 389.4 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006849/0.454, allocations: 2.11 MB / 391.5 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.4541, allocations: 4 kB / 391.5 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.4552, allocations: 140.4 kB / 391.6 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000337/0.4556, allocations: 56.81 kB / 391.7 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.311e-05/0.4557, allocations: 27.86 kB / 391.7 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002218/0.4579, allocations: 1.65 MB / 393.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.404e-05/0.458, allocations: 11.94 kB / 393.4 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004271/0.4623, allocations: 1.616 MB / 395 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004822/0.4628, allocations: 192.3 kB / 395.2 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.463, allocations: 27.98 kB / 395.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000848/0.4638, allocations: 55.95 kB / 395.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001937/0.464, allocations: 64.09 kB / 395.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.042e-05/0.4641, allocations: 31.95 kB / 395.4 MB, free: 10.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009309/0.4651, allocations: 382.8 kB / 395.7 MB, free: 9.895 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.4651, allocations: 0 / 395.7 MB, free: 9.895 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001459/0.4666, allocations: 240 kB / 396 MB, free: 9.66 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 7 (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 (62): * Single equations (assignments): 60 * 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: 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002322/0.4668, allocations: 131 kB / 396.1 MB, free: 9.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004035/0.4709, allocations: 1.258 MB / 397.4 MB, free: 8.238 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.505e-05/0.4709, allocations: 4.125 kB / 397.4 MB, free: 8.234 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001567/0.4725, allocations: 499.6 kB / 397.9 MB, free: 7.734 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.4737, allocations: 133.7 kB / 398 MB, free: 7.605 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004648/0.4784, allocations: 1.973 MB / 400 MB, free: 5.516 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007851/0.4792, allocations: 0.9976 MB / 401 MB, free: 4.488 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003959/0.4797, allocations: 55.42 kB / 401 MB, free: 4.434 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.4797, allocations: 0 / 401 MB, free: 4.434 MB / 330.7 MB Notification: Performance of Templates: time 0.02493/0.5046, allocations: 11.31 MB / 412.3 MB, free: 9.125 MB / 346.7 MB