Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.27/2.27, allocations: 233 MB / 245.6 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.089e-05/3.104e-05, allocations: 0 / 301.4 MB, free: 7.883 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1097, allocations: 53.24 MB / 354.6 MB, free: 2.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4739/0.5836, allocations: 111.7 MB / 466.3 MB, free: 6.258 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/0.584, allocations: 91.95 kB / 466.4 MB, free: 6.168 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1733/0.7573, allocations: 38.05 MB / 0.4926 GB, free: 15.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.7573, allocations: 0 / 0.4926 GB, free: 15.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000123/0.7575, allocations: 28 kB / 0.4926 GB, free: 15.64 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.005036/0.7625, allocations: 1.284 MB / 0.4939 GB, free: 14.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.561e-05/0.7626, allocations: 8.031 kB / 0.4939 GB, free: 14.3 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004832/0.7631, allocations: 178.8 kB / 0.4941 GB, free: 14.11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003322/0.7664, allocations: 262.1 kB / 0.4943 GB, free: 13.86 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007999/0.7745, allocations: 1.541 MB / 0.4958 GB, free: 12.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.7746, allocations: 82.06 kB / 0.4959 GB, free: 12.18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000487/0.7751, allocations: 119.9 kB / 0.496 GB, free: 12.07 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006984/0.7821, allocations: 1.436 MB / 0.4974 GB, free: 10.56 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.726e-05/0.7822, allocations: 7.906 kB / 0.4974 GB, free: 10.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002173/0.7825, allocations: 40 kB / 0.4975 GB, free: 10.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000259/0.7827, allocations: 90.17 kB / 0.4976 GB, free: 10.43 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004263/0.787, allocations: 1.187 MB / 0.4987 GB, free: 9.234 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04031/0.8273, allocations: 5.657 MB / 0.5042 GB, free: 3.234 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.8293, allocations: 0.5733 MB / 0.5048 GB, free: 2.645 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.8306, allocations: 383.8 kB / 0.5052 GB, free: 2.266 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-05/0.8307, allocations: 16.55 kB / 0.5052 GB, free: 2.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/0.8308, allocations: 43.12 kB / 0.5052 GB, free: 2.199 MB / 442.7 MB Notification: Performance of pre-optimization done (n=67): time 4.549e-06/0.8308, allocations: 1.031 kB / 0.5052 GB, free: 2.199 MB / 442.7 MB Notification: Performance of matching and sorting (n=75): time 0.01951/0.8503, allocations: 2.876 MB / 0.508 GB, free: 15.25 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.485e-05/0.8504, allocations: 81.89 kB / 0.5081 GB, free: 15.15 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001856/0.8523, allocations: 0.6329 MB / 0.5087 GB, free: 14.51 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001976/0.8526, allocations: 41.67 kB / 0.5088 GB, free: 14.46 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00073/0.8533, allocations: 0.6061 MB / 0.5094 GB, free: 13.85 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005129/0.8539, allocations: 272.1 kB / 0.5096 GB, free: 13.58 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.854, allocations: 16 kB / 0.5096 GB, free: 13.56 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002503/0.8542, allocations: 358.8 kB / 0.51 GB, free: 13.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.8555, allocations: 373.9 kB / 0.5103 GB, free: 12.84 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.8568, allocations: 0.6475 MB / 0.511 GB, free: 12.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.8581, allocations: 499.2 kB / 0.5114 GB, free: 11.59 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.8581, allocations: 8 kB / 0.5114 GB, free: 11.58 MB / 458.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.005496/0.8636, allocations: 1.6 MB / 0.513 GB, free: 9.957 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.8637, allocations: 12.23 kB / 0.513 GB, free: 9.945 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004496/0.8682, allocations: 1.289 MB / 0.5143 GB, free: 8.645 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003382/0.8716, allocations: 0.5836 MB / 0.5148 GB, free: 8.051 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.8728, allocations: 167.7 kB / 0.515 GB, free: 7.887 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3122/1.185, allocations: 9.434 MB / 0.5242 GB, free: 120.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/1.186, allocations: 50.91 kB / 0.5243 GB, free: 120.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/1.186, allocations: 43.02 kB / 0.5243 GB, free: 120.4 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.0002616/1.187, allocations: 157 kB / 0.5245 GB, free: 120.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/1.187, allocations: 92.05 kB / 0.5245 GB, free: 120.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003681/1.191, allocations: 1.235 MB / 0.5258 GB, free: 120.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/1.191, allocations: 7.562 kB / 0.5258 GB, free: 120.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/1.191, allocations: 8.891 kB / 0.5258 GB, free: 120.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/1.191, allocations: 3.891 kB / 0.5258 GB, free: 120.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006931/1.198, allocations: 2.38 MB / 0.5281 GB, free: 119.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/1.198, allocations: 2.531 kB / 0.5281 GB, free: 119.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008999/1.199, allocations: 102.3 kB / 0.5282 GB, free: 119.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001898/1.201, allocations: 379.6 kB / 0.5286 GB, free: 119.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001469/1.201, allocations: 29.67 kB / 0.5286 GB, free: 119.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009762/1.21, allocations: 8.475 MB / 0.5369 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/1.211, allocations: 2.75 kB / 0.5369 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004391/1.215, allocations: 1.736 MB / 0.5386 GB, free: 112.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007149/1.216, allocations: 231.6 kB / 0.5388 GB, free: 112.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/1.216, allocations: 26.08 kB / 0.5388 GB, free: 112.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008788/1.217, allocations: 29.97 kB / 0.5388 GB, free: 112.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002313/1.217, allocations: 59.83 kB / 0.5389 GB, free: 112.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.911e-05/1.217, allocations: 24.7 kB / 0.5389 GB, free: 112.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001011/1.218, allocations: 0.4904 MB / 0.5394 GB, free: 112.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.218, allocations: 3.219 kB / 0.5394 GB, free: 112.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002158/1.22, allocations: 363.7 kB / 0.5397 GB, free: 112.7 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.004876/1.225, allocations: 2.942 MB / 0.5426 GB, free: 111.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003649/1.229, allocations: 1.498 MB / 0.5441 GB, free: 110.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.229, allocations: 0.9688 kB / 0.5441 GB, free: 110.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002509/1.232, allocations: 1.044 MB / 0.5451 GB, free: 110.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/1.233, allocations: 184.5 kB / 0.5453 GB, free: 110.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007043/1.24, allocations: 2.601 MB / 0.5478 GB, free: 109.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/1.241, allocations: 1.28 MB / 0.5491 GB, free: 108.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008635/1.242, allocations: 448.2 kB / 0.5495 GB, free: 108.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.082e-06/1.242, allocations: 0 / 0.5495 GB, free: 108.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.398/4.64, allocations: 36.98 MB / 0.5856 GB, free: 101.7 MB / 458.7 MB