Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.138/2.138, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.839e-05/3.846e-05, allocations: 4 kB / 292.2 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1095, allocations: 50.42 MB / 342.7 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5869/0.6964, allocations: 104.7 MB / 447.4 MB, free: 5.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/0.6968, allocations: 89.08 kB / 447.4 MB, free: 5.434 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1804/0.8772, allocations: 41.47 MB / 488.9 MB, free: 108 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.8773, allocations: 0 / 488.9 MB, free: 108 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002329/0.8776, allocations: 51.94 kB / 489 MB, free: 56 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.008086/0.8857, allocations: 1.997 MB / 491 MB, free: 14.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.8857, allocations: 11.97 kB / 491 MB, free: 14 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001285/0.887, allocations: 282.4 kB / 491.3 MB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/0.8887, allocations: 273 kB / 491.5 MB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005094/0.8939, allocations: 1.372 MB / 492.9 MB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002153/0.8941, allocations: 143.8 kB / 493 MB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008204/0.895, allocations: 191.9 kB / 493.2 MB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007308/0.9023, allocations: 2.335 MB / 495.6 MB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001062/0.9025, allocations: 8 kB / 495.6 MB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000311/0.9028, allocations: 84 kB / 495.6 MB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001515/0.903, allocations: 87.58 kB / 495.7 MB, free: 9.086 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006272/0.9092, allocations: 1.784 MB / 497.5 MB, free: 7.301 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02107/0.9304, allocations: 7.845 MB / 0.4935 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002808/0.9332, allocations: 1.253 MB / 0.4947 GB, free: 13.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00214/0.9354, allocations: 0.808 MB / 0.4955 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003991/0.9358, allocations: 134 kB / 0.4957 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.9359, allocations: 48.22 kB / 0.4957 GB, free: 12.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=99): time 3.747e-06/0.9359, allocations: 0 / 0.4957 GB, free: 12.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=115): time 0.01849/0.9544, allocations: 4.843 MB / 0.5004 GB, free: 8.008 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.418e-05/0.9545, allocations: 68.34 kB / 0.5005 GB, free: 7.926 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002719/0.9573, allocations: 1.11 MB / 0.5016 GB, free: 6.809 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003112/0.9576, allocations: 45.7 kB / 0.5016 GB, free: 6.758 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009744/0.9586, allocations: 0.8967 MB / 0.5025 GB, free: 5.848 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000632/0.9593, allocations: 410.1 kB / 0.5029 GB, free: 5.441 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.9594, allocations: 28 kB / 0.5029 GB, free: 5.414 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.9596, allocations: 369.8 kB / 0.5033 GB, free: 5.047 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/0.9613, allocations: 0.6209 MB / 0.5039 GB, free: 4.426 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001989/0.9634, allocations: 0.964 MB / 0.5048 GB, free: 3.312 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002056/0.9654, allocations: 0.7856 MB / 0.5056 GB, free: 2.527 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/0.9655, allocations: 4 kB / 0.5056 GB, free: 2.523 MB / 426.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.006304/0.9718, allocations: 2.119 MB / 0.5077 GB, free: 392 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.947e-05/0.9719, allocations: 8 kB / 0.5077 GB, free: 384 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.019e-05/0.9719, allocations: 12 kB / 0.5077 GB, free: 372 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001748/0.9737, allocations: 411.4 kB / 0.5081 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002796/0.9765, allocations: 343.5 kB / 0.5084 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00786/0.9844, allocations: 4.629 MB / 0.5129 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002114/0.9866, allocations: 83.91 kB / 0.513 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003048/0.987, allocations: 56 kB / 0.513 GB, free: 10.58 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (158): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004315/0.9874, allocations: 180.7 kB / 0.5132 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005518/0.988, allocations: 158.1 kB / 0.5134 GB, free: 10.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005597/0.9936, allocations: 1.898 MB / 0.5152 GB, free: 8.316 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.212e-05/0.9937, allocations: 12 kB / 0.5152 GB, free: 8.305 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/0.9937, allocations: 4 kB / 0.5152 GB, free: 8.301 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.75e-05/0.9937, allocations: 7.922 kB / 0.5152 GB, free: 8.293 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01222/1.006, allocations: 4.026 MB / 0.5192 GB, free: 4.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/1.006, allocations: 7.938 kB / 0.5192 GB, free: 4.172 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002111/1.008, allocations: 223.7 kB / 0.5194 GB, free: 3.953 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002268/1.01, allocations: 471.1 kB / 0.5198 GB, free: 3.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002168/1.011, allocations: 31.98 kB / 0.5199 GB, free: 3.449 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3281/1.339, allocations: 6.143 MB / 0.5259 GB, free: 117.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.088e-06/1.339, allocations: 4.562 kB / 0.5259 GB, free: 117.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007919/1.347, allocations: 2.907 MB / 0.5287 GB, free: 116.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/1.348, allocations: 359.6 kB / 0.5291 GB, free: 116.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005702/1.349, allocations: 28.47 kB / 0.5291 GB, free: 116.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001899/1.351, allocations: 78.45 kB / 0.5292 GB, free: 116.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00048/1.351, allocations: 88.75 kB / 0.5293 GB, free: 116.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/1.351, allocations: 33.58 kB / 0.5293 GB, free: 116.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0025/1.354, allocations: 0.8496 MB / 0.5301 GB, free: 116.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.354, allocations: 0 / 0.5301 GB, free: 116.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002948/1.357, allocations: 458.8 kB / 0.5306 GB, free: 116.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (99): * Single equations (assignments): 95 * 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 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008899/1.366, allocations: 4.267 MB / 0.5347 GB, free: 115.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005492/1.371, allocations: 2.009 MB / 0.5367 GB, free: 114.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.371, allocations: 0 / 0.5367 GB, free: 114.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003725/1.375, allocations: 1.305 MB / 0.538 GB, free: 114.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003595/1.379, allocations: 390.7 kB / 0.5383 GB, free: 114.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/1.392, allocations: 3.897 MB / 0.5421 GB, free: 113.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00291/1.395, allocations: 1.682 MB / 0.5438 GB, free: 112.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002217/1.397, allocations: 343.6 kB / 0.5441 GB, free: 112.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00193/1.399, allocations: 0.7181 MB / 0.5448 GB, free: 112.5 MB / 442.7 MB Notification: Performance of SimCode: time 3.236e-06/1.399, allocations: 0 / 0.5448 GB, free: 112.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1041/1.503, allocations: 38.96 MB / 0.5829 GB, free: 103.6 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002821/1.504, allocations: 191.5 kB / 0.583 GB, free: 103.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.976/5.48, allocations: 4 kB / 0.583 GB, free: 103.4 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat does not exist to compare? outputFormat=mat