Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.148/2.148, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.127e-05/3.131e-05, allocations: 4 kB / 292.3 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1049, allocations: 50.41 MB / 342.7 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5218/0.6267, allocations: 120.6 MB / 463.2 MB, free: 6.402 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004064/0.6272, allocations: 95.38 kB / 463.3 MB, free: 6.352 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8643/1.492, allocations: 160.9 MB / 0.6095 GB, free: 81.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.793e-06/1.492, allocations: 0 / 0.6095 GB, free: 81.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003924/1.492, allocations: 103.8 kB / 0.6096 GB, free: 81.11 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: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01576/1.508, allocations: 3.924 MB / 0.6135 GB, free: 77.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/1.508, allocations: 8.031 kB / 0.6135 GB, free: 77.4 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002356/1.51, allocations: 0.6058 MB / 0.6141 GB, free: 76.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008129/1.518, allocations: 0.9226 MB / 0.615 GB, free: 75.86 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01546/1.534, allocations: 3.811 MB / 0.6187 GB, free: 72.08 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004171/1.534, allocations: 299.2 kB / 0.619 GB, free: 71.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001587/1.536, allocations: 404.2 kB / 0.6194 GB, free: 71.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0186/1.555, allocations: 4.972 MB / 0.6242 GB, free: 66.26 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001773/1.555, allocations: 19.77 kB / 0.6242 GB, free: 66.24 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008846/1.556, allocations: 168 kB / 0.6244 GB, free: 66.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002606/1.556, allocations: 168 kB / 0.6246 GB, free: 65.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01638/1.572, allocations: 3.987 MB / 0.6285 GB, free: 61.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04736/1.62, allocations: 16.92 MB / 0.645 GB, free: 44.63 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009535/1.629, allocations: 8.247 MB / 0.653 GB, free: 35.36 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004201/1.634, allocations: 1.609 MB / 0.6546 GB, free: 33.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0119/1.646, allocations: 4.857 MB / 0.6594 GB, free: 28.76 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/1.646, allocations: 51.88 kB / 0.6594 GB, free: 28.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=151): time 4.228e-06/1.646, allocations: 0 / 0.6594 GB, free: 28.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=154): time 0.01078/1.656, allocations: 4.515 MB / 0.6638 GB, free: 24.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/1.657, allocations: 68.72 kB / 0.6639 GB, free: 24.01 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004104/1.661, allocations: 1.965 MB / 0.6658 GB, free: 22.02 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003246/1.661, allocations: 53.7 kB / 0.6658 GB, free: 21.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001348/1.662, allocations: 1.843 MB / 0.6676 GB, free: 20.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006157/1.663, allocations: 0.5299 MB / 0.6682 GB, free: 19.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/1.663, allocations: 44 kB / 0.6682 GB, free: 19.53 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/1.663, allocations: 394 kB / 0.6686 GB, free: 19.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/1.665, allocations: 0.7538 MB / 0.6693 GB, free: 18.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002066/1.667, allocations: 1.41 MB / 0.6707 GB, free: 16.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002186/1.669, allocations: 1.029 MB / 0.6717 GB, free: 15.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.665e-05/1.669, allocations: 8 kB / 0.6717 GB, free: 15.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.006181/1.676, allocations: 2.611 MB / 0.6743 GB, free: 12.97 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/1.676, allocations: 16 kB / 0.6743 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.92e-05/1.676, allocations: 20 kB / 0.6743 GB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004356/1.676, allocations: 121.7 kB / 0.6744 GB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003643/1.68, allocations: 0.5267 MB / 0.6749 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/1.682, allocations: 1.818 MB / 0.6767 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/1.685, allocations: 123.8 kB / 0.6768 GB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002144/1.685, allocations: 92 kB / 0.6769 GB, free: 10.13 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (259): * Single equations (assignments): 257 * 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.0004444/1.685, allocations: 236.9 kB / 0.6771 GB, free: 9.891 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004989/1.686, allocations: 249 kB / 0.6774 GB, free: 9.645 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005553/1.691, allocations: 2.277 MB / 0.6796 GB, free: 7.312 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.889e-05/1.691, allocations: 15.95 kB / 0.6796 GB, free: 7.297 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/1.692, allocations: 8 kB / 0.6796 GB, free: 7.289 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-05/1.692, allocations: 7.969 kB / 0.6796 GB, free: 7.281 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/1.705, allocations: 5.542 MB / 0.685 GB, free: 1.633 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-05/1.706, allocations: 4 kB / 0.685 GB, free: 1.629 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003345/1.709, allocations: 283.6 kB / 0.6853 GB, free: 1.352 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001733/1.711, allocations: 314.4 kB / 0.6856 GB, free: 1.035 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003003/1.711, allocations: 35.98 kB / 0.6856 GB, free: 1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3253/2.036, allocations: 6.294 MB / 0.6918 GB, free: 76.92 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/2.036, allocations: 2.562 kB / 0.6918 GB, free: 76.92 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008147/2.045, allocations: 3.398 MB / 0.6951 GB, free: 76.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001718/2.046, allocations: 491.8 kB / 0.6956 GB, free: 76.22 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006348/2.047, allocations: 37.8 kB / 0.6956 GB, free: 76.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002234/2.049, allocations: 90.27 kB / 0.6957 GB, free: 76.22 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000445/2.05, allocations: 115.7 kB / 0.6958 GB, free: 76.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/2.05, allocations: 42.53 kB / 0.6958 GB, free: 76.22 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003884/2.054, allocations: 1.495 MB / 0.6973 GB, free: 76.06 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.92e-07/2.054, allocations: 0 / 0.6973 GB, free: 76.06 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004169/2.058, allocations: 0.73 MB / 0.698 GB, free: 76.06 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (126): * Single equations (assignments): 123 * 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.009364/2.067, allocations: 4.696 MB / 0.7026 GB, free: 74.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005227/2.073, allocations: 2.032 MB / 0.7046 GB, free: 74.35 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/2.073, allocations: 0.9688 kB / 0.7046 GB, free: 74.35 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003326/2.076, allocations: 1.312 MB / 0.7059 GB, free: 74.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004557/2.081, allocations: 0.5531 MB / 0.7064 GB, free: 74 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01943/2.1, allocations: 6.515 MB / 0.7128 GB, free: 72.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00333/2.103, allocations: 2.733 MB / 0.7154 GB, free: 71.89 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003368/2.107, allocations: 0.5488 MB / 0.716 GB, free: 71.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003025/2.11, allocations: 1.474 MB / 0.7174 GB, free: 71.82 MB / 442.7 MB Notification: Performance of SimCode: time 1.263e-06/2.11, allocations: 0 / 0.7174 GB, free: 71.82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1443/2.254, allocations: 61.41 MB / 0.7774 GB, free: 55.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/2.255, allocations: 217.7 kB / 0.7776 GB, free: 55.07 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.842/7.097, allocations: 4 kB / 0.7776 GB, free: 55.07 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat does not exist to compare? outputFormat=mat