Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.877/1.877, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.414e-05/2.431e-05, allocations: 0 / 292.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1021, allocations: 50.41 MB / 342.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5029/0.6051, allocations: 109.1 MB / 451.7 MB, free: 1.637 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/0.6054, allocations: 96.62 kB / 451.8 MB, free: 1.586 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3016/0.9071, allocations: 79.64 MB / 0.519 GB, free: 5.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.9071, allocations: 0 / 0.519 GB, free: 5.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003275/0.9075, allocations: 79.88 kB / 0.5191 GB, free: 5.102 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01378/0.9213, allocations: 3.179 MB / 0.5222 GB, free: 1.859 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.9214, allocations: 8.875 kB / 0.5222 GB, free: 1.852 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001601/0.923, allocations: 447 kB / 0.5226 GB, free: 1.402 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006149/0.9291, allocations: 0.718 MB / 0.5233 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2998/1.229, allocations: 3.284 MB / 0.5265 GB, free: 90.92 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003365/1.229, allocations: 235.9 kB / 0.5268 GB, free: 90.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001262/1.231, allocations: 309.8 kB / 0.527 GB, free: 90.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/1.243, allocations: 4.011 MB / 0.531 GB, free: 90.56 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001227/1.243, allocations: 5.359 kB / 0.531 GB, free: 90.56 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005285/1.244, allocations: 131.6 kB / 0.5311 GB, free: 90.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002207/1.244, allocations: 144 kB / 0.5312 GB, free: 90.55 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01066/1.255, allocations: 3.249 MB / 0.5344 GB, free: 90.53 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07319/1.328, allocations: 13.24 MB / 0.5473 GB, free: 88.17 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01499/1.343, allocations: 6.786 MB / 0.554 GB, free: 82.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003324/1.346, allocations: 1.322 MB / 0.5552 GB, free: 82.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009754/1.356, allocations: 3.717 MB / 0.5589 GB, free: 82.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/1.356, allocations: 52.23 kB / 0.5589 GB, free: 82.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 4.218e-06/1.356, allocations: 2.531 kB / 0.5589 GB, free: 82.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=121): time 0.009826/1.366, allocations: 3.822 MB / 0.5627 GB, free: 80.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/1.366, allocations: 63.66 kB / 0.5627 GB, free: 80.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003063/1.369, allocations: 1.472 MB / 0.5642 GB, free: 80.08 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002571/1.369, allocations: 45.61 kB / 0.5642 GB, free: 80.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009925/1.37, allocations: 1.415 MB / 0.5656 GB, free: 78.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004601/1.371, allocations: 426.8 kB / 0.566 GB, free: 78.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/1.371, allocations: 32.66 kB / 0.566 GB, free: 78.61 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/1.371, allocations: 370.2 kB / 0.5664 GB, free: 78.28 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/1.373, allocations: 0.5946 MB / 0.567 GB, free: 78.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/1.374, allocations: 1.046 MB / 0.568 GB, free: 77.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00229/1.377, allocations: 0.8114 MB / 0.5688 GB, free: 76.91 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.705e-05/1.377, allocations: 7.156 kB / 0.5688 GB, free: 76.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005263/1.382, allocations: 2.166 MB / 0.5709 GB, free: 76.03 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/1.382, allocations: 10.34 kB / 0.5709 GB, free: 76.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.704e-05/1.382, allocations: 19 kB / 0.5709 GB, free: 76.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/1.383, allocations: 266.4 kB / 0.5712 GB, free: 75.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0025/1.386, allocations: 354.1 kB / 0.5715 GB, free: 75.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006218/1.392, allocations: 5.674 MB / 0.5771 GB, free: 71.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/1.394, allocations: 77.44 kB / 0.5771 GB, free: 71.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001914/1.394, allocations: 67.09 kB / 0.5772 GB, free: 71.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 174 * 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: 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 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003668/1.395, allocations: 203.7 kB / 0.5774 GB, free: 70.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003641/1.395, allocations: 181 kB / 0.5776 GB, free: 70.78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005039/1.4, allocations: 2.041 MB / 0.5796 GB, free: 69.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/1.4, allocations: 14.06 kB / 0.5796 GB, free: 69.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/1.4, allocations: 8.844 kB / 0.5796 GB, free: 69.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/1.4, allocations: 6.844 kB / 0.5796 GB, free: 69.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/1.411, allocations: 4.696 MB / 0.5842 GB, free: 67.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/1.411, allocations: 0 / 0.5842 GB, free: 67.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/1.412, allocations: 172.3 kB / 0.5843 GB, free: 67.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001857/1.414, allocations: 449.6 kB / 0.5848 GB, free: 67.44 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001614/1.414, allocations: 37.17 kB / 0.5848 GB, free: 67.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01181/1.426, allocations: 10.05 MB / 0.5946 GB, free: 58.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/1.426, allocations: 3.719 kB / 0.5946 GB, free: 58.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006154/1.432, allocations: 2.957 MB / 0.5975 GB, free: 57.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/1.434, allocations: 399.7 kB / 0.5979 GB, free: 57.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003622/1.434, allocations: 30.16 kB / 0.5979 GB, free: 57.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/1.435, allocations: 72.42 kB / 0.598 GB, free: 57.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003037/1.436, allocations: 97.97 kB / 0.5981 GB, free: 57.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/1.436, allocations: 37.56 kB / 0.5981 GB, free: 57.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002253/1.438, allocations: 1.128 MB / 0.5992 GB, free: 56.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.438, allocations: 0 / 0.5992 GB, free: 56.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003195/1.441, allocations: 0.5772 MB / 0.5998 GB, free: 56.54 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(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.007179/1.449, allocations: 4.215 MB / 0.6039 GB, free: 53.99 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004035/1.453, allocations: 1.921 MB / 0.6058 GB, free: 53.03 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.453, allocations: 0 / 0.6058 GB, free: 53.03 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003036/1.456, allocations: 1.439 MB / 0.6072 GB, free: 52.13 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003497/1.459, allocations: 477.2 kB / 0.6076 GB, free: 52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/1.473, allocations: 5.197 MB / 0.6127 GB, free: 49.76 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002496/1.476, allocations: 2.342 MB / 0.615 GB, free: 48.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002239/1.478, allocations: 373.8 kB / 0.6153 GB, free: 48.63 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002173/1.48, allocations: 1.1 MB / 0.6164 GB, free: 47.71 MB / 442.7 MB Notification: Performance of SimCode: time 1.623e-06/1.48, allocations: 0 / 0.6164 GB, free: 47.71 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1181/1.598, allocations: 49.96 MB / 0.6652 GB, free: 15.04 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/1.598, allocations: 211.7 kB / 0.6654 GB, free: 14.81 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.252/5.85, allocations: 0 / 0.6654 GB, free: 14.81 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_Inverter_res.mat does not exist to compare? outputFormat=mat