Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.529/2.529, allocations: 233 MB / 246.1 MB, free: 14.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.146e-05/4.171e-05, allocations: 4 kB / 302.3 MB, free: 7.375 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1236, allocations: 53.22 MB / 355.5 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5096/0.6333, allocations: 111.7 MB / 467.2 MB, free: 5.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003494/0.6337, allocations: 88.7 kB / 467.3 MB, free: 5.754 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1766/0.8103, allocations: 38.04 MB / 0.4935 GB, free: 15.26 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.8103, allocations: 0 / 0.4935 GB, free: 15.26 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001261/0.8105, allocations: 31.94 kB / 0.4936 GB, free: 15.23 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.005982/0.8165, allocations: 1.288 MB / 0.4948 GB, free: 13.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.341e-05/0.8166, allocations: 8.031 kB / 0.4948 GB, free: 13.89 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006593/0.8173, allocations: 173.5 kB / 0.495 GB, free: 13.71 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003661/0.8209, allocations: 262.1 kB / 0.4952 GB, free: 13.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008267/0.8292, allocations: 1.542 MB / 0.4967 GB, free: 11.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.8294, allocations: 82.06 kB / 0.4968 GB, free: 11.78 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005453/0.83, allocations: 123.8 kB / 0.4969 GB, free: 11.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005269/0.8353, allocations: 1.432 MB / 0.4983 GB, free: 10.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.277e-05/0.8354, allocations: 7.891 kB / 0.4983 GB, free: 10.15 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000246/0.8357, allocations: 47.98 kB / 0.4984 GB, free: 10.1 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002797/0.836, allocations: 87.48 kB / 0.4985 GB, free: 10.02 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004696/0.8407, allocations: 1.187 MB / 0.4996 GB, free: 8.824 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01875/0.8595, allocations: 5.649 MB / 0.5051 GB, free: 2.832 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002083/0.8616, allocations: 0.5737 MB / 0.5057 GB, free: 2.242 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/0.863, allocations: 387.8 kB / 0.5061 GB, free: 1.859 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.8631, allocations: 16.55 kB / 0.5061 GB, free: 1.844 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.809e-05/0.8632, allocations: 39.12 kB / 0.5061 GB, free: 1.797 MB / 442.7 MB Notification: Performance of pre-optimization done (n=67): time 5.54e-06/0.8632, allocations: 4 kB / 0.5061 GB, free: 1.793 MB / 442.7 MB Notification: Performance of matching and sorting (n=75): time 0.0144/0.8776, allocations: 2.872 MB / 0.5089 GB, free: 14.84 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/0.8778, allocations: 85.89 kB / 0.509 GB, free: 14.74 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.8794, allocations: 0.6329 MB / 0.5096 GB, free: 14.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001882/0.8796, allocations: 37.7 kB / 0.5097 GB, free: 14.06 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005967/0.8802, allocations: 0.588 MB / 0.5102 GB, free: 13.46 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004244/0.8806, allocations: 276.2 kB / 0.5105 GB, free: 13.19 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.395e-05/0.8807, allocations: 24.88 kB / 0.5105 GB, free: 13.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002473/0.881, allocations: 406.7 kB / 0.5109 GB, free: 12.76 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.882, allocations: 377.9 kB / 0.5113 GB, free: 12.39 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.8834, allocations: 0.6401 MB / 0.5119 GB, free: 11.63 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.8848, allocations: 0.4978 MB / 0.5124 GB, free: 11.13 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.25e-05/0.8848, allocations: 4 kB / 0.5124 GB, free: 11.13 MB / 458.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.005974/0.8908, allocations: 1.654 MB / 0.514 GB, free: 9.453 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.432e-05/0.8909, allocations: 18.3 kB / 0.514 GB, free: 9.438 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004712/0.8956, allocations: 1.281 MB / 0.5153 GB, free: 8.145 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003414/0.8991, allocations: 0.581 MB / 0.5158 GB, free: 7.555 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.9004, allocations: 171.7 kB / 0.516 GB, free: 7.387 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3413/1.242, allocations: 9.429 MB / 0.5252 GB, free: 120 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/1.243, allocations: 45.17 kB / 0.5253 GB, free: 120 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/1.243, allocations: 43.92 kB / 0.5253 GB, free: 120 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (94): * Single equations (assignments): 90 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {3 16} Notification: Performance of prepare postOptimizeDAE: time 0.000256/1.243, allocations: 164.7 kB / 0.5255 GB, free: 119.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/1.244, allocations: 90.73 kB / 0.5255 GB, free: 119.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004035/1.248, allocations: 1.228 MB / 0.5267 GB, free: 119.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/1.248, allocations: 10.59 kB / 0.5268 GB, free: 119.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/1.248, allocations: 9.125 kB / 0.5268 GB, free: 119.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/1.248, allocations: 5.531 kB / 0.5268 GB, free: 119.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00744/1.255, allocations: 2.384 MB / 0.5291 GB, free: 119.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/1.255, allocations: 2.812 kB / 0.5291 GB, free: 119.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000938/1.256, allocations: 99.3 kB / 0.5292 GB, free: 119.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001943/1.258, allocations: 377.1 kB / 0.5296 GB, free: 119.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/1.258, allocations: 29.56 kB / 0.5296 GB, free: 119.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/1.269, allocations: 8.478 MB / 0.5379 GB, free: 113 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.269, allocations: 3.375 kB / 0.5379 GB, free: 113 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0045/1.273, allocations: 1.745 MB / 0.5396 GB, free: 112.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006325/1.274, allocations: 225 kB / 0.5398 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/1.274, allocations: 29.47 kB / 0.5398 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008375/1.275, allocations: 25.5 kB / 0.5398 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002429/1.275, allocations: 61.45 kB / 0.5399 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-05/1.275, allocations: 27.09 kB / 0.5399 GB, free: 112.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00105/1.276, allocations: 0.4931 MB / 0.5404 GB, free: 112.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.276, allocations: 0.9688 kB / 0.5404 GB, free: 112.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002187/1.278, allocations: 362.8 kB / 0.5408 GB, free: 112.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (turboGrp.w,generator.phi_el,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 51 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 10,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005301/1.284, allocations: 2.946 MB / 0.5436 GB, free: 110.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003834/1.288, allocations: 1.497 MB / 0.5451 GB, free: 110.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/1.288, allocations: 0.8438 kB / 0.5451 GB, free: 110.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002665/1.29, allocations: 1.042 MB / 0.5461 GB, free: 109.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/1.292, allocations: 189.3 kB / 0.5463 GB, free: 109.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007535/1.3, allocations: 2.5 MB / 0.5487 GB, free: 109.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/1.301, allocations: 1.286 MB / 0.55 GB, free: 108.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00124/1.302, allocations: 208.3 kB / 0.5502 GB, free: 108.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007747/1.303, allocations: 442.4 kB / 0.5506 GB, free: 108.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.473e-06/1.303, allocations: 4 kB / 0.5506 GB, free: 108.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08117/1.384, allocations: 24.34 MB / 0.5744 GB, free: 107 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003038/1.385, allocations: 208.6 kB / 0.5746 GB, free: 106.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.359/4.744, allocations: 0.75 kB / 0.5746 GB, free: 106.8 MB / 458.7 MB