Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.987/1.987, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.611e-05/2.658e-05, allocations: 4 kB / 292.8 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1026, allocations: 50.4 MB / 343.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4724/0.5751, allocations: 109.1 MB / 452.3 MB, free: 1.262 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003191/0.5754, allocations: 95.61 kB / 452.4 MB, free: 1.207 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3451/0.9206, allocations: 79.65 MB / 0.5195 GB, free: 5.02 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.9206, allocations: 0 / 0.5195 GB, free: 5.02 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003313/0.921, allocations: 83.86 kB / 0.5196 GB, free: 4.938 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.9347, allocations: 3.168 MB / 0.5227 GB, free: 1.707 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.9348, allocations: 12.88 kB / 0.5227 GB, free: 1.695 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001592/0.9364, allocations: 447 kB / 0.5231 GB, free: 1.246 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006257/0.9427, allocations: 0.718 MB / 0.5239 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3018/1.245, allocations: 3.275 MB / 0.527 GB, free: 93.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003705/1.245, allocations: 240.4 kB / 0.5273 GB, free: 93.76 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00139/1.246, allocations: 312 kB / 0.5276 GB, free: 93.76 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01323/1.26, allocations: 4.009 MB / 0.5315 GB, free: 93.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001303/1.26, allocations: 6.156 kB / 0.5315 GB, free: 93.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000621/1.26, allocations: 136.3 kB / 0.5316 GB, free: 93.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002197/1.261, allocations: 141.4 kB / 0.5318 GB, free: 93.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/1.272, allocations: 3.247 MB / 0.5349 GB, free: 93.38 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03465/1.306, allocations: 13.22 MB / 0.5478 GB, free: 91.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009038/1.315, allocations: 6.793 MB / 0.5545 GB, free: 85.81 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003232/1.319, allocations: 1.327 MB / 0.5558 GB, free: 85.79 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008906/1.328, allocations: 3.719 MB / 0.5594 GB, free: 85.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/1.328, allocations: 48.81 kB / 0.5595 GB, free: 85.08 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 3.758e-06/1.328, allocations: 0 / 0.5595 GB, free: 85.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=121): time 0.009239/1.337, allocations: 3.834 MB / 0.5632 GB, free: 83.24 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/1.337, allocations: 62.62 kB / 0.5633 GB, free: 83.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002997/1.34, allocations: 1.471 MB / 0.5647 GB, free: 82.58 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002496/1.34, allocations: 45.33 kB / 0.5647 GB, free: 82.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009784/1.341, allocations: 1.412 MB / 0.5661 GB, free: 81.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004463/1.342, allocations: 427.6 kB / 0.5665 GB, free: 81.14 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/1.342, allocations: 31.25 kB / 0.5666 GB, free: 81.11 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/1.342, allocations: 371.3 kB / 0.5669 GB, free: 80.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/1.343, allocations: 0.5939 MB / 0.5675 GB, free: 80.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/1.345, allocations: 1.046 MB / 0.5685 GB, free: 79.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/1.347, allocations: 0.8083 MB / 0.5693 GB, free: 79.42 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-05/1.347, allocations: 7.469 kB / 0.5693 GB, free: 79.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004962/1.352, allocations: 2.176 MB / 0.5714 GB, free: 78.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/1.352, allocations: 13.22 kB / 0.5714 GB, free: 78.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.569e-05/1.352, allocations: 12.44 kB / 0.5715 GB, free: 78.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/1.353, allocations: 266.1 kB / 0.5717 GB, free: 78.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002537/1.356, allocations: 357.2 kB / 0.5721 GB, free: 78.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006254/1.362, allocations: 5.674 MB / 0.5776 GB, free: 73.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/1.364, allocations: 71.19 kB / 0.5777 GB, free: 73.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/1.364, allocations: 67.09 kB / 0.5777 GB, free: 73.54 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.0003689/1.365, allocations: 202.6 kB / 0.5779 GB, free: 73.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003483/1.365, allocations: 178.1 kB / 0.5781 GB, free: 73.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004947/1.37, allocations: 2.049 MB / 0.5801 GB, free: 72.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/1.37, allocations: 13.64 kB / 0.5801 GB, free: 72.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/1.37, allocations: 7.406 kB / 0.5801 GB, free: 72.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.021e-05/1.37, allocations: 7.312 kB / 0.5801 GB, free: 72.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/1.381, allocations: 4.697 MB / 0.5847 GB, free: 70.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/1.381, allocations: 0 / 0.5847 GB, free: 70.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/1.383, allocations: 168.5 kB / 0.5849 GB, free: 70.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001894/1.385, allocations: 456.3 kB / 0.5853 GB, free: 69.94 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/1.385, allocations: 34.39 kB / 0.5853 GB, free: 69.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01162/1.396, allocations: 10.05 MB / 0.5951 GB, free: 61.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.397, allocations: 3.406 kB / 0.5951 GB, free: 61.48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006327/1.403, allocations: 2.958 MB / 0.598 GB, free: 59.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/1.404, allocations: 401.5 kB / 0.5984 GB, free: 59.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00037/1.404, allocations: 27.59 kB / 0.5984 GB, free: 59.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/1.406, allocations: 79.89 kB / 0.5985 GB, free: 59.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002929/1.406, allocations: 99.78 kB / 0.5986 GB, free: 59.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/1.406, allocations: 30.22 kB / 0.5986 GB, free: 59.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002212/1.409, allocations: 1.125 MB / 0.5997 GB, free: 59.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.373e-06/1.409, allocations: 0 / 0.5997 GB, free: 59.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002892/1.412, allocations: 0.5836 MB / 0.6003 GB, free: 59.04 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.006963/1.419, allocations: 4.215 MB / 0.6044 GB, free: 56.49 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004049/1.423, allocations: 1.927 MB / 0.6063 GB, free: 55.53 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.423, allocations: 2.5 kB / 0.6063 GB, free: 55.53 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002965/1.426, allocations: 1.425 MB / 0.6077 GB, free: 54.64 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003384/1.429, allocations: 481.6 kB / 0.6082 GB, free: 54.51 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/1.443, allocations: 5.195 MB / 0.6132 GB, free: 52.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002824/1.446, allocations: 2.336 MB / 0.6155 GB, free: 51.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002295/1.448, allocations: 377.3 kB / 0.6159 GB, free: 51.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002246/1.451, allocations: 1.105 MB / 0.617 GB, free: 50.22 MB / 442.7 MB Notification: Performance of SimCode: time 1.192e-06/1.451, allocations: 0 / 0.617 GB, free: 50.22 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1435/1.594, allocations: 49.96 MB / 0.6657 GB, free: 16.03 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/1.595, allocations: 219.7 kB / 0.666 GB, free: 15.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.905/5.499, allocations: 3.266 kB / 0.666 GB, free: 15.8 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat does not exist to compare? outputFormat=mat