Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.248/2.248, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.191e-05/3.22e-05, allocations: 5.406 kB / 292.3 MB, free: 8.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1062, allocations: 50.41 MB / 342.7 MB, free: 5.777 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5789/0.6851, allocations: 167.8 MB / 0.4985 GB, free: 7.434 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003545/0.6855, allocations: 96.03 kB / 0.4986 GB, free: 7.383 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.242/2.928, allocations: 391.4 MB / 0.8809 GB, free: 45.34 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.324e-06/2.928, allocations: 1 kB / 0.8809 GB, free: 45.34 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001309/2.929, allocations: 261.9 kB / 0.8811 GB, free: 45.32 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3043 * Number of variables: 3043 Notification: Performance of Generate backend data structure: time 0.05593/2.985, allocations: 10.15 MB / 0.891 GB, free: 42.09 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/2.985, allocations: 9.406 kB / 0.891 GB, free: 42.09 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00923/2.994, allocations: 1.739 MB / 0.8927 GB, free: 41.95 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03313/3.028, allocations: 3.736 MB / 0.8964 GB, free: 41.34 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03557/3.063, allocations: 8.899 MB / 0.9051 GB, free: 40.21 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001144/3.064, allocations: 0.8074 MB / 0.9059 GB, free: 40.19 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005284/3.07, allocations: 1.06 MB / 0.9069 GB, free: 40.18 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0557/3.125, allocations: 16.06 MB / 0.9226 GB, free: 38.89 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006632/3.126, allocations: 17.62 kB / 0.9226 GB, free: 38.89 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00458/3.131, allocations: 464.4 kB / 0.923 GB, free: 38.89 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001074/3.132, allocations: 0.7041 MB / 0.9237 GB, free: 38.86 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04262/3.175, allocations: 13.28 MB / 0.9367 GB, free: 38.8 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1384/3.313, allocations: 55.51 MB / 0.9909 GB, free: 12.46 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03385/3.347, allocations: 21.08 MB / 1.011 GB, free: 9.957 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008999/3.356, allocations: 3.252 MB / 1.015 GB, free: 8.723 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03091/3.387, allocations: 9.638 MB / 1.024 GB, free: 2.066 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.439e-05/3.387, allocations: 71.98 kB / 1.024 GB, free: 1.988 MB / 490.7 MB Notification: Performance of pre-optimization done (n=314): time 7.083e-06/3.387, allocations: 0 / 1.024 GB, free: 1.988 MB / 490.7 MB Notification: Performance of matching and sorting (n=347): time 0.04739/3.435, allocations: 14.06 MB / 1.038 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00593/3.44, allocations: 2.904 MB / 1.041 GB, free: 2.375 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.453/3.894, allocations: 4.589 MB / 1.045 GB, free: 73.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008337/3.894, allocations: 82.33 kB / 1.045 GB, free: 73.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006109/3.901, allocations: 5.14 MB / 1.05 GB, free: 72.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002211/3.903, allocations: 1.217 MB / 1.051 GB, free: 71.97 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009537/3.904, allocations: 128.4 kB / 1.052 GB, free: 71.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006645/3.905, allocations: 0.5566 MB / 1.052 GB, free: 71.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008785/3.913, allocations: 2.639 MB / 1.055 GB, free: 71.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01131/3.925, allocations: 5.301 MB / 1.06 GB, free: 68.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01094/3.936, allocations: 3.824 MB / 1.064 GB, free: 68.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002457/3.936, allocations: 23.53 kB / 1.064 GB, free: 68.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=811) (initialization): time 0.02858/3.965, allocations: 8.93 MB / 1.072 GB, free: 67.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/3.965, allocations: 46.19 kB / 1.072 GB, free: 67.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001817/3.965, allocations: 91.84 kB / 1.073 GB, free: 67.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004165/3.969, allocations: 0.9222 MB / 1.073 GB, free: 67.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01086/3.98, allocations: 1.464 MB / 1.075 GB, free: 67.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01744/3.998, allocations: 9.712 MB / 1.084 GB, free: 63.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01115/4.009, allocations: 493 kB / 1.085 GB, free: 63.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001835/4.011, allocations: 336.1 kB / 1.085 GB, free: 63.53 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 416 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (755): * Single equations (assignments): 745 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(8,67.2%) 26,(2,100.0%) 8,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002712/4.013, allocations: 0.5134 MB / 1.086 GB, free: 63.37 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001817/4.015, allocations: 0.5028 MB / 1.086 GB, free: 63.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01945/4.035, allocations: 6.166 MB / 1.092 GB, free: 62.64 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01497/4.05, allocations: 5.116 MB / 1.097 GB, free: 62.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.921e-05/4.05, allocations: 7.812 kB / 1.097 GB, free: 62.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001095/4.05, allocations: 16.64 kB / 1.097 GB, free: 62.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06184/4.112, allocations: 21.42 MB / 1.118 GB, free: 60.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-05/4.112, allocations: 3.531 kB / 1.118 GB, free: 60.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005378/4.117, allocations: 0.5898 MB / 1.119 GB, free: 60.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005612/4.123, allocations: 1.138 MB / 1.12 GB, free: 60.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009213/4.124, allocations: 81.66 kB / 1.12 GB, free: 60.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02546/4.149, allocations: 14.62 MB / 1.134 GB, free: 51.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00502/4.154, allocations: 2.809 MB / 1.137 GB, free: 49.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02462/4.179, allocations: 9.659 MB / 1.146 GB, free: 44.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004402/4.184, allocations: 1.032 MB / 1.147 GB, free: 44.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002344/4.186, allocations: 72.66 kB / 1.147 GB, free: 44.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006971/4.193, allocations: 254.6 kB / 1.148 GB, free: 43.99 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001426/4.195, allocations: 272.5 kB / 1.148 GB, free: 43.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008096/4.195, allocations: 101.6 kB / 1.148 GB, free: 43.93 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01009/4.205, allocations: 3.284 MB / 1.151 GB, free: 42.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.052e-06/4.206, allocations: 4 kB / 1.151 GB, free: 42.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01368/4.219, allocations: 1.959 MB / 1.153 GB, free: 42.49 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],smee.stator.zeroInductor.i0,smeeQS.gamma,smeeQS.excitation.electroMagneticConverter.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (292): * Single equations (assignments): 283 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * 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: 4 {(2,100.0%) 8,(1,100.0%) 4,(1,100.0%) 8,(8,67.2%) 26} * Non-linear torn systems: 1 {5 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.02769/4.247, allocations: 11.77 MB / 1.165 GB, free: 35.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01858/4.266, allocations: 6.722 MB / 1.171 GB, free: 33.37 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.881e-05/4.266, allocations: 8 kB / 1.171 GB, free: 33.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01046/4.276, allocations: 3.477 MB / 1.175 GB, free: 31.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0101/4.286, allocations: 1.075 MB / 1.176 GB, free: 31.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.063/4.349, allocations: 18.27 MB / 1.193 GB, free: 16.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01574/4.365, allocations: 6.785 MB / 1.2 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01205/4.377, allocations: 1.842 MB / 1.202 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01038/4.388, allocations: 4.056 MB / 1.206 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of SimCode: time 1.693e-06/4.388, allocations: 0 / 1.206 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7668/5.155, allocations: 146.1 MB / 1.349 GB, free: 46.15 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002692/5.155, allocations: 240 kB / 1.349 GB, free: 45.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.69/13.84, allocations: 9.688 kB / 1.349 GB, free: 45.81 MB / 0.5105 GB