Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.973/1.973, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.753e-05/2.765e-05, allocations: 3.984 kB / 292.3 MB, free: 8.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1037, allocations: 50.41 MB / 342.7 MB, free: 5.77 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4781/0.5818, allocations: 111.1 MB / 453.7 MB, free: 15.29 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003452/0.5822, allocations: 93.5 kB / 453.8 MB, free: 15.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3129/0.8951, allocations: 80.75 MB / 0.522 GB, free: 1.895 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.8952, allocations: 0 / 0.522 GB, free: 1.895 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003344/0.8955, allocations: 87.88 kB / 0.5221 GB, free: 1.809 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.3279/1.223, allocations: 3.204 MB / 0.5252 GB, free: 92.03 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/1.224, allocations: 10.47 kB / 0.5253 GB, free: 92.03 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001855/1.225, allocations: 455.1 kB / 0.5257 GB, free: 91.97 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00649/1.232, allocations: 0.7333 MB / 0.5264 GB, free: 91.78 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01286/1.245, allocations: 3.319 MB / 0.5296 GB, free: 91.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003556/1.245, allocations: 240.7 kB / 0.5299 GB, free: 91.44 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001389/1.247, allocations: 330.6 kB / 0.5302 GB, free: 91.44 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01366/1.26, allocations: 4.083 MB / 0.5342 GB, free: 91.06 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001388/1.26, allocations: 3.031 kB / 0.5342 GB, free: 91.06 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005656/1.261, allocations: 140.4 kB / 0.5343 GB, free: 91.06 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002046/1.261, allocations: 146 kB / 0.5345 GB, free: 91.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01121/1.272, allocations: 3.271 MB / 0.5376 GB, free: 91.04 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0353/1.308, allocations: 13.92 MB / 0.5512 GB, free: 88.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009025/1.317, allocations: 6.459 MB / 0.5576 GB, free: 83.43 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003483/1.32, allocations: 1.36 MB / 0.5589 GB, free: 83.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008268/1.329, allocations: 3.604 MB / 0.5624 GB, free: 82.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/1.329, allocations: 51.64 kB / 0.5625 GB, free: 82.03 MB / 442.7 MB Notification: Performance of pre-optimization done (n=132): time 3.908e-06/1.329, allocations: 0 / 0.5625 GB, free: 82.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=135): time 0.009486/1.338, allocations: 4.139 MB / 0.5665 GB, free: 79.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/1.338, allocations: 65.91 kB / 0.5666 GB, free: 79.76 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002998/1.341, allocations: 1.534 MB / 0.5681 GB, free: 79.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002185/1.342, allocations: 49.05 kB / 0.5681 GB, free: 79.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001027/1.343, allocations: 1.445 MB / 0.5695 GB, free: 77.99 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004659/1.343, allocations: 474.1 kB / 0.57 GB, free: 77.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/1.343, allocations: 36.91 kB / 0.57 GB, free: 77.61 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/1.343, allocations: 372.8 kB / 0.5704 GB, free: 77.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/1.345, allocations: 0.6444 MB / 0.571 GB, free: 77.01 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/1.347, allocations: 1.126 MB / 0.5721 GB, free: 76.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/1.348, allocations: 0.869 MB / 0.5729 GB, free: 75.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/1.348, allocations: 3 kB / 0.5729 GB, free: 75.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005399/1.354, allocations: 2.401 MB / 0.5753 GB, free: 74.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/1.354, allocations: 11.28 kB / 0.5753 GB, free: 74.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.226e-05/1.354, allocations: 15.38 kB / 0.5753 GB, free: 74.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/1.355, allocations: 360.9 kB / 0.5757 GB, free: 74.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002474/1.358, allocations: 375.1 kB / 0.576 GB, free: 74.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008513/1.366, allocations: 7.64 MB / 0.5835 GB, free: 68.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002319/1.369, allocations: 81.95 kB / 0.5835 GB, free: 68.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/1.369, allocations: 69.75 kB / 0.5836 GB, free: 68.17 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 183 * 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: 4 * 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: 4 {(1,100.0%) 1,(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003852/1.369, allocations: 217 kB / 0.5838 GB, free: 68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000337/1.37, allocations: 190.7 kB / 0.584 GB, free: 67.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005358/1.375, allocations: 2.219 MB / 0.5862 GB, free: 66.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/1.375, allocations: 18.11 kB / 0.5862 GB, free: 66.85 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/1.375, allocations: 10.56 kB / 0.5862 GB, free: 66.85 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/1.375, allocations: 6.516 kB / 0.5862 GB, free: 66.85 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/1.386, allocations: 4.967 MB / 0.5911 GB, free: 64.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/1.386, allocations: 5.844 kB / 0.5911 GB, free: 64.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/1.387, allocations: 173.6 kB / 0.5912 GB, free: 64.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002172/1.39, allocations: 0.5284 MB / 0.5917 GB, free: 64.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/1.39, allocations: 36.31 kB / 0.5918 GB, free: 64.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01382/1.404, allocations: 12.03 MB / 0.6035 GB, free: 54.22 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.404, allocations: 4.094 kB / 0.6035 GB, free: 54.21 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006866/1.41, allocations: 3.21 MB / 0.6067 GB, free: 52.53 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/1.412, allocations: 419.6 kB / 0.6071 GB, free: 52.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003847/1.412, allocations: 38.56 kB / 0.6071 GB, free: 52.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/1.414, allocations: 67.83 kB / 0.6072 GB, free: 52.19 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003339/1.414, allocations: 118.5 kB / 0.6073 GB, free: 52.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/1.414, allocations: 38.11 kB / 0.6073 GB, free: 52.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002289/1.416, allocations: 1.168 MB / 0.6085 GB, free: 51.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.416, allocations: 0 / 0.6085 GB, free: 51.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003019/1.419, allocations: 0.614 MB / 0.6091 GB, free: 51.61 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007399/1.427, allocations: 4.466 MB / 0.6134 GB, free: 48.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004487/1.431, allocations: 2.2 MB / 0.6156 GB, free: 47.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.431, allocations: 2.516 kB / 0.6156 GB, free: 47.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003183/1.435, allocations: 1.644 MB / 0.6172 GB, free: 46.67 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00368/1.438, allocations: 0.4949 MB / 0.6177 GB, free: 46.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/1.452, allocations: 5.543 MB / 0.6231 GB, free: 44.12 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002398/1.455, allocations: 2.361 MB / 0.6254 GB, free: 43.04 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002835/1.457, allocations: 395 kB / 0.6258 GB, free: 42.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00267/1.46, allocations: 1.128 MB / 0.6269 GB, free: 42.04 MB / 442.7 MB Notification: Performance of SimCode: time 1.483e-06/1.46, allocations: 0 / 0.6269 GB, free: 42.04 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1594/1.62, allocations: 52.92 MB / 0.6785 GB, free: 1.18 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/1.62, allocations: 228.7 kB / 0.6787 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.166/5.786, allocations: 0 / 0.6787 GB, free: 0.9414 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat does not exist to compare? outputFormat=mat