Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.919/1.919, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.583e-05/4.599e-05, allocations: 4 kB / 255.5 MB, free: 2.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1013, allocations: 44.5 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5485/0.6499, allocations: 114 MB / 413.9 MB, free: 8.359 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.6502, allocations: 84.77 kB / 414 MB, free: 8.348 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9221/1.572, allocations: 160.2 MB / 0.5608 GB, free: 58.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.454e-06/1.572, allocations: 3.844 kB / 0.5608 GB, free: 58.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004362/1.573, allocations: 90.95 kB / 0.5608 GB, free: 58.74 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01681/1.59, allocations: 3.905 MB / 0.5647 GB, free: 57.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/1.59, allocations: 7.656 kB / 0.5647 GB, free: 57.3 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002194/1.592, allocations: 0.5551 MB / 0.5652 GB, free: 57.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00773/1.6, allocations: 0.9093 MB / 0.5661 GB, free: 57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01451/1.614, allocations: 3.806 MB / 0.5698 GB, free: 56.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004142/1.615, allocations: 302.5 kB / 0.5701 GB, free: 56.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001841/1.617, allocations: 396.7 kB / 0.5705 GB, free: 56.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01689/1.634, allocations: 4.957 MB / 0.5753 GB, free: 55.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002061/1.634, allocations: 7.906 kB / 0.5753 GB, free: 55.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001337/1.635, allocations: 166.8 kB / 0.5755 GB, free: 55.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002177/1.635, allocations: 171.5 kB / 0.5757 GB, free: 55.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01365/1.649, allocations: 3.959 MB / 0.5795 GB, free: 55.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04435/1.693, allocations: 16.88 MB / 0.596 GB, free: 49.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009624/1.703, allocations: 8.239 MB / 0.6041 GB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004185/1.707, allocations: 1.608 MB / 0.6056 GB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01212/1.72, allocations: 4.824 MB / 0.6103 GB, free: 38.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/1.72, allocations: 47.44 kB / 0.6104 GB, free: 38.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=149): time 4.639e-06/1.72, allocations: 0 / 0.6104 GB, free: 38.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=152): time 0.01299/1.733, allocations: 4.475 MB / 0.6147 GB, free: 36.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/1.733, allocations: 69.88 kB / 0.6148 GB, free: 36.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005335/1.738, allocations: 1.966 MB / 0.6167 GB, free: 35.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003823/1.739, allocations: 52.98 kB / 0.6168 GB, free: 35.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001649/1.74, allocations: 1.841 MB / 0.6186 GB, free: 34.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007641/1.741, allocations: 0.5192 MB / 0.6191 GB, free: 33.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/1.741, allocations: 42.19 kB / 0.6191 GB, free: 33.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001863/1.741, allocations: 395.8 kB / 0.6195 GB, free: 33.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001995/1.743, allocations: 0.7465 MB / 0.6202 GB, free: 33.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003829/1.747, allocations: 1.412 MB / 0.6216 GB, free: 31.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004703/1.752, allocations: 1.009 MB / 0.6226 GB, free: 31.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.674e-05/1.752, allocations: 6.688 kB / 0.6226 GB, free: 31.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.0116/1.764, allocations: 2.573 MB / 0.6251 GB, free: 30.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.373e-05/1.764, allocations: 13.72 kB / 0.6251 GB, free: 30.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-05/1.764, allocations: 23.81 kB / 0.6252 GB, free: 30.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007506/1.765, allocations: 132.8 kB / 0.6253 GB, free: 30.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006064/1.771, allocations: 0.5307 MB / 0.6258 GB, free: 30.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003299/1.774, allocations: 1.808 MB / 0.6276 GB, free: 28.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004977/1.779, allocations: 115.1 kB / 0.6277 GB, free: 28.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000646/1.78, allocations: 96.91 kB / 0.6278 GB, free: 28.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (258): * Single equations (assignments): 256 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000908/1.781, allocations: 238.4 kB / 0.628 GB, free: 28.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/1.782, allocations: 240.9 kB / 0.6282 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007408/1.789, allocations: 2.256 MB / 0.6304 GB, free: 27.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/1.79, allocations: 15.47 kB / 0.6304 GB, free: 27.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/1.79, allocations: 7.594 kB / 0.6304 GB, free: 27.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.291e-05/1.79, allocations: 8.906 kB / 0.6305 GB, free: 27.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01601/1.806, allocations: 5.514 MB / 0.6358 GB, free: 24.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-05/1.806, allocations: 3.781 kB / 0.6358 GB, free: 24.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002626/1.808, allocations: 281.1 kB / 0.6361 GB, free: 24.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001458/1.81, allocations: 311 kB / 0.6364 GB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003524/1.81, allocations: 45.89 kB / 0.6365 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008376/1.819, allocations: 6.303 MB / 0.6426 GB, free: 18.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/1.819, allocations: 4.031 kB / 0.6426 GB, free: 18.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007955/1.827, allocations: 3.386 MB / 0.6459 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001821/1.829, allocations: 494.6 kB / 0.6464 GB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009074/1.829, allocations: 32 kB / 0.6464 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002738/1.832, allocations: 90.22 kB / 0.6465 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005763/1.833, allocations: 119.5 kB / 0.6466 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/1.833, allocations: 43.56 kB / 0.6467 GB, free: 14.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003846/1.837, allocations: 1.487 MB / 0.6481 GB, free: 12.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.837, allocations: 0 / 0.6481 GB, free: 12.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004149/1.841, allocations: 0.7184 MB / 0.6488 GB, free: 12.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 122 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008575/1.85, allocations: 4.728 MB / 0.6534 GB, free: 7.766 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005128/1.855, allocations: 2.007 MB / 0.6554 GB, free: 5.859 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/1.855, allocations: 0 / 0.6554 GB, free: 5.859 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003402/1.858, allocations: 1.315 MB / 0.6567 GB, free: 4.617 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004685/1.863, allocations: 0.551 MB / 0.6572 GB, free: 4.172 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02036/1.884, allocations: 6.499 MB / 0.6636 GB, free: 14.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005023/1.889, allocations: 2.717 MB / 0.6662 GB, free: 12.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003684/1.892, allocations: 0.5498 MB / 0.6668 GB, free: 12.03 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003636/1.896, allocations: 1.466 MB / 0.6682 GB, free: 10.67 MB / 426.7 MB Notification: Performance of SimCode: time 1.513e-06/1.896, allocations: 0 / 0.6682 GB, free: 10.67 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.47/2.366, allocations: 60.88 MB / 0.7276 GB, free: 86.16 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/2.366, allocations: 202.5 kB / 0.7278 GB, free: 85.93 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.005/7.371, allocations: 0 / 0.7278 GB, free: 85.93 MB / 426.7 MB