Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") Notification: Performance of loadModel(PowerSystems): time 2.365/2.365, allocations: 232.9 MB / 248.1 MB, free: 10.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.827e-05, allocations: 4 kB / 304.4 MB, free: 2.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3592, allocations: 53.21 MB / 357.6 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.007984/0.3672, allocations: 4.755 MB / 362.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004965/0.3723, allocations: 1.956 MB / 364.3 MB, free: 9.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00069/0.373, allocations: 42.44 kB / 364.3 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004441/0.3735, allocations: 91.75 kB / 364.4 MB, free: 9.141 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.3747, allocations: 277.5 kB / 364.7 MB, free: 8.895 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.3761, allocations: 357.9 kB / 365 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001105/0.3772, allocations: 449.5 kB / 365.5 MB, free: 8.281 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.3784, allocations: 0.5141 MB / 366 MB, free: 7.879 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005499/0.379, allocations: 243.6 kB / 366.2 MB, free: 7.738 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004623/0.3795, allocations: 230 kB / 366.4 MB, free: 7.594 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005579/0.38, allocations: 161.6 kB / 366.6 MB, free: 7.516 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.3802, allocations: 22 kB / 366.6 MB, free: 7.516 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.3804, allocations: 123.5 kB / 366.7 MB, free: 7.438 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.3805, allocations: 43.62 kB / 366.8 MB, free: 7.438 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.3817, allocations: 0.7458 MB / 367.5 MB, free: 6.895 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3818, allocations: 0 / 367.5 MB, free: 6.895 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3818, allocations: 1.188 kB / 367.5 MB, free: 6.895 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.3818, allocations: 0 / 367.5 MB, free: 6.895 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.002154/0.384, allocations: 0.85 MB / 368.4 MB, free: 6.203 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.384, allocations: 13.14 kB / 368.4 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.3854, allocations: 163.4 kB / 368.6 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/0.3872, allocations: 0.5402 MB / 369.1 MB, free: 5.668 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.767e-05/0.3873, allocations: 52.39 kB / 369.2 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.3874, allocations: 53.5 kB / 369.2 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/0.3895, allocations: 0.7092 MB / 369.9 MB, free: 5.094 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/0.3896, allocations: 3.906 kB / 369.9 MB, free: 5.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.3897, allocations: 27.95 kB / 369.9 MB, free: 5.062 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.72e-05/0.3897, allocations: 37.23 kB / 370 MB, free: 5.023 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/0.3918, allocations: 0.6218 MB / 370.6 MB, free: 4.402 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00627/0.398, allocations: 2.514 MB / 373.1 MB, free: 1.793 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/0.4007, allocations: 0.7461 MB / 373.9 MB, free: 1.012 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.075e-05/0.4008, allocations: 8.453 kB / 373.9 MB, free: 1.004 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.4008, allocations: 46.97 kB / 373.9 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 3.346e-06/0.4009, allocations: 0 / 373.9 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.002639/0.4035, allocations: 0.7171 MB / 374.6 MB, free: 232 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.255e-05/0.4036, allocations: 115.1 kB / 374.7 MB, free: 92 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.4049, allocations: 0.491 MB / 375.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.818e-05/0.405, allocations: 33.7 kB / 375.3 MB, free: 15.55 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/0.4053, allocations: 351.2 kB / 375.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.4056, allocations: 177.4 kB / 375.8 MB, free: 15.03 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.4056, allocations: 8 kB / 375.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.4058, allocations: 330.8 kB / 376.1 MB, free: 14.69 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007963/0.4066, allocations: 209 kB / 376.3 MB, free: 14.49 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008693/0.4075, allocations: 313.1 kB / 376.6 MB, free: 14.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000855/0.4083, allocations: 244.7 kB / 376.9 MB, free: 13.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.4084, allocations: 0 / 376.9 MB, free: 13.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002596/0.411, allocations: 0.6995 MB / 377.6 MB, free: 13.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004528/0.4114, allocations: 1.054 MB / 378.6 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.4115, allocations: 4 kB / 378.6 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007224/0.4122, allocations: 128.7 kB / 378.8 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.4133, allocations: 127.9 kB / 378.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.4145, allocations: 0.7279 MB / 379.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.4156, allocations: 99.42 kB / 379.7 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.134e-05/0.4157, allocations: 20 kB / 379.7 MB, free: 10.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.4157, allocations: 4 kB / 379.7 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001987/0.4177, allocations: 0.5769 MB / 380.3 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.4177, allocations: 4.344 kB / 380.3 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003762/0.4181, allocations: 80.81 kB / 380.4 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009985/0.4191, allocations: 131.8 kB / 380.5 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002903/0.422, allocations: 1.948 MB / 382.5 MB, free: 8.051 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005812/0.4227, allocations: 51.73 kB / 382.5 MB, free: 8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.862e-05/0.4227, allocations: 20 kB / 382.5 MB, free: 7.98 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 (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.0005089/0.4232, allocations: 221.4 kB / 382.7 MB, free: 7.754 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/0.4235, allocations: 71.11 kB / 382.8 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/0.4254, allocations: 0.565 MB / 383.4 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.4254, allocations: 8 kB / 383.4 MB, free: 7.109 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.4254, allocations: 4 kB / 383.4 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.4255, allocations: 0 / 383.4 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003287/0.4288, allocations: 1.298 MB / 384.7 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.4288, allocations: 0 / 384.7 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/0.4299, allocations: 115.9 kB / 384.8 MB, free: 5.629 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-06/0.4299, allocations: 0 / 384.8 MB, free: 5.629 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.935e-05/0.43, allocations: 11.98 kB / 384.8 MB, free: 5.617 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.697e-06/0.43, allocations: 4 kB / 384.8 MB, free: 5.613 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.43, allocations: 0 / 384.8 MB, free: 5.613 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002779/0.4328, allocations: 0.9225 MB / 385.7 MB, free: 4.672 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004041/0.4333, allocations: 188.2 kB / 385.9 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.4334, allocations: 16 kB / 385.9 MB, free: 4.453 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006764/0.4341, allocations: 39.97 kB / 386 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.4343, allocations: 36.38 kB / 386 MB, free: 4.379 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.128e-05/0.4343, allocations: 12 kB / 386 MB, free: 4.367 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009403/0.4353, allocations: 386.8 kB / 386.4 MB, free: 3.992 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.4353, allocations: 0 / 386.4 MB, free: 3.992 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001124/0.4364, allocations: 243.2 kB / 386.6 MB, free: 3.754 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 (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.0001981/0.4366, allocations: 115.3 kB / 386.8 MB, free: 3.633 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003002/0.4397, allocations: 0.917 MB / 387.7 MB, free: 2.703 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.4397, allocations: 4.5 kB / 387.7 MB, free: 2.699 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000867/0.4406, allocations: 262.3 kB / 387.9 MB, free: 2.441 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009957/0.4416, allocations: 121.5 kB / 388.1 MB, free: 2.324 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004531/0.4461, allocations: 1.774 MB / 389.8 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007028/0.4469, allocations: 0.9378 MB / 390.8 MB, free: 15.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000342/0.4472, allocations: 47.44 kB / 390.8 MB, free: 15.5 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.4472, allocations: 4 kB / 390.8 MB, free: 15.5 MB / 330.7 MB Notification: Performance of Templates: time 0.01924/0.4665, allocations: 8.725 MB / 399.5 MB, free: 6.773 MB / 330.7 MB