Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.435/2.435, allocations: 233 MB / 246.1 MB, free: 14.99 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.028e-05/4.028e-05, allocations: 11.94 kB / 302.3 MB, free: 7.578 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1356, allocations: 53.23 MB / 355.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5105/0.6462, allocations: 111.7 MB / 467.2 MB, free: 5.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/0.6466, allocations: 87.94 kB / 467.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1691/0.8157, allocations: 38.05 MB / 0.4935 GB, free: 15.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.8158, allocations: 0 / 0.4935 GB, free: 15.39 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001117/0.8159, allocations: 28 kB / 0.4936 GB, free: 15.36 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.003624/0.8196, allocations: 1.284 MB / 0.4948 GB, free: 14.03 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.8196, allocations: 8.031 kB / 0.4948 GB, free: 14.02 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003326/0.82, allocations: 181.4 kB / 0.495 GB, free: 13.83 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002436/0.8224, allocations: 262.1 kB / 0.4952 GB, free: 13.57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006009/0.8284, allocations: 1.537 MB / 0.4967 GB, free: 11.99 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.124e-05/0.8286, allocations: 78.06 kB / 0.4968 GB, free: 11.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003704/0.829, allocations: 123.9 kB / 0.4969 GB, free: 11.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003576/0.8325, allocations: 1.436 MB / 0.4983 GB, free: 10.29 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.853e-05/0.8326, allocations: 0 / 0.4983 GB, free: 10.29 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001891/0.8328, allocations: 51.92 kB / 0.4984 GB, free: 10.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002042/0.833, allocations: 90.19 kB / 0.4985 GB, free: 10.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0032/0.8363, allocations: 1.183 MB / 0.4996 GB, free: 8.957 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01229/0.8486, allocations: 5.653 MB / 0.5051 GB, free: 2.961 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.85, allocations: 0.5694 MB / 0.5057 GB, free: 2.375 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009218/0.8509, allocations: 391.8 kB / 0.5061 GB, free: 1.988 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.078e-05/0.851, allocations: 16.55 kB / 0.5061 GB, free: 1.973 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.8511, allocations: 43.12 kB / 0.5061 GB, free: 1.922 MB / 442.7 MB Notification: Performance of pre-optimization done (n=67): time 4.198e-06/0.8511, allocations: 0 / 0.5061 GB, free: 1.922 MB / 442.7 MB Notification: Performance of matching and sorting (n=75): time 0.01015/0.8613, allocations: 2.876 MB / 0.5089 GB, free: 14.97 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.876e-05/0.8614, allocations: 85.89 kB / 0.509 GB, free: 14.87 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.8626, allocations: 0.6368 MB / 0.5096 GB, free: 14.22 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.902e-05/0.8627, allocations: 41.73 kB / 0.5097 GB, free: 14.18 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005724/0.8633, allocations: 0.588 MB / 0.5103 GB, free: 13.58 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003302/0.8637, allocations: 272.1 kB / 0.5105 GB, free: 13.31 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.864e-05/0.8638, allocations: 20 kB / 0.5105 GB, free: 13.29 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003117/0.8641, allocations: 406.7 kB / 0.5109 GB, free: 12.88 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.8651, allocations: 377.9 kB / 0.5113 GB, free: 12.51 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.8664, allocations: 0.6362 MB / 0.5119 GB, free: 11.76 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.8677, allocations: 0.4978 MB / 0.5124 GB, free: 11.26 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.8677, allocations: 4 kB / 0.5124 GB, free: 11.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.005515/0.8732, allocations: 1.65 MB / 0.514 GB, free: 9.586 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/0.8733, allocations: 15.98 kB / 0.514 GB, free: 9.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004467/0.8778, allocations: 1.285 MB / 0.5153 GB, free: 8.273 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003343/0.8811, allocations: 0.577 MB / 0.5158 GB, free: 7.684 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.8823, allocations: 175.7 kB / 0.516 GB, free: 7.512 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3263/1.209, allocations: 9.424 MB / 0.5252 GB, free: 120.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/1.21, allocations: 50.8 kB / 0.5253 GB, free: 120.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/1.21, allocations: 43.3 kB / 0.5253 GB, free: 120.1 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.0002536/1.21, allocations: 156.5 kB / 0.5255 GB, free: 120 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/1.211, allocations: 97.8 kB / 0.5255 GB, free: 120 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003934/1.215, allocations: 1.227 MB / 0.5267 GB, free: 119.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/1.215, allocations: 12.97 kB / 0.5268 GB, free: 119.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/1.215, allocations: 3.562 kB / 0.5268 GB, free: 119.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.947e-05/1.215, allocations: 9.609 kB / 0.5268 GB, free: 119.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00728/1.222, allocations: 2.381 MB / 0.5291 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/1.222, allocations: 1.281 kB / 0.5291 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008967/1.223, allocations: 104.9 kB / 0.5292 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001912/1.225, allocations: 380.8 kB / 0.5296 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/1.225, allocations: 26.3 kB / 0.5296 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01001/1.235, allocations: 8.472 MB / 0.5379 GB, free: 113 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/1.235, allocations: 7.688 kB / 0.5379 GB, free: 113 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004545/1.24, allocations: 1.746 MB / 0.5396 GB, free: 112.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007195/1.24, allocations: 232.3 kB / 0.5398 GB, free: 112.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/1.241, allocations: 23.8 kB / 0.5398 GB, free: 112.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008301/1.241, allocations: 27.58 kB / 0.5398 GB, free: 112.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/1.242, allocations: 65.8 kB / 0.5399 GB, free: 112.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.708e-05/1.242, allocations: 22.84 kB / 0.5399 GB, free: 112.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001021/1.243, allocations: 0.4913 MB / 0.5404 GB, free: 112.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.12e-07/1.243, allocations: 0 / 0.5404 GB, free: 112.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0023/1.245, allocations: 362.2 kB / 0.5407 GB, free: 112.4 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.005033/1.25, allocations: 2.954 MB / 0.5436 GB, free: 110.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003754/1.254, allocations: 1.5 MB / 0.5451 GB, free: 110.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/1.254, allocations: 0 / 0.5451 GB, free: 110.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002614/1.257, allocations: 1.038 MB / 0.5461 GB, free: 109.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/1.258, allocations: 180.2 kB / 0.5463 GB, free: 109.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007533/1.266, allocations: 2.503 MB / 0.5487 GB, free: 109.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/1.267, allocations: 1.279 MB / 0.55 GB, free: 108.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001266/1.269, allocations: 220.1 kB / 0.5502 GB, free: 108.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007615/1.269, allocations: 449.2 kB / 0.5506 GB, free: 108.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.523e-06/1.269, allocations: 0 / 0.5506 GB, free: 108.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0708/1.34, allocations: 24.34 MB / 0.5744 GB, free: 107.1 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/1.341, allocations: 185.3 kB / 0.5746 GB, free: 106.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.439/4.78, allocations: 3.938 kB / 0.5746 GB, free: 106.9 MB / 458.7 MB