Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.159/2.159, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.804e-05/2.809e-05, allocations: 0 / 292.3 MB, free: 8.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1066, allocations: 50.4 MB / 342.7 MB, free: 5.77 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5368/0.6435, allocations: 127.3 MB / 470 MB, free: 15.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003732/0.6439, allocations: 104.5 kB / 470.1 MB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.651/2.295, allocations: 337.3 MB / 0.7884 GB, free: 59.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.144e-06/2.295, allocations: 0 / 0.7884 GB, free: 59.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007246/2.296, allocations: 204.1 kB / 0.7886 GB, free: 59.94 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.04352/2.34, allocations: 8.95 MB / 0.7974 GB, free: 56.52 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/2.34, allocations: 11.16 kB / 0.7974 GB, free: 56.52 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007452/2.347, allocations: 1.545 MB / 0.7989 GB, free: 55.79 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03609/2.383, allocations: 4.216 MB / 0.803 GB, free: 54.92 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02648/2.41, allocations: 8.037 MB / 0.8108 GB, free: 50.82 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008589/2.411, allocations: 0.6701 MB / 0.8115 GB, free: 50.52 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004297/2.415, allocations: 0.885 MB / 0.8124 GB, free: 50.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05006/2.465, allocations: 15.3 MB / 0.8273 GB, free: 35.37 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005412/2.466, allocations: 7.906 kB / 0.8273 GB, free: 35.36 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003903/2.47, allocations: 388.2 kB / 0.8277 GB, free: 35 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001107/2.471, allocations: 0.7304 MB / 0.8284 GB, free: 34.26 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04139/2.512, allocations: 13.39 MB / 0.8415 GB, free: 20.86 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5409/3.053, allocations: 51.36 MB / 0.8916 GB, free: 38.21 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03615/3.089, allocations: 26.3 MB / 0.9173 GB, free: 33.22 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007709/3.097, allocations: 3.169 MB / 0.9204 GB, free: 33.18 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006197/3.098, allocations: 167.1 kB / 0.9206 GB, free: 33.08 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.114e-05/3.098, allocations: 79.2 kB / 0.9206 GB, free: 33.04 MB / 474.7 MB Notification: Performance of pre-optimization done (n=404): time 7.544e-06/3.098, allocations: 0 / 0.9206 GB, free: 33.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=410): time 0.03946/3.137, allocations: 12.36 MB / 0.9327 GB, free: 31.37 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/3.138, allocations: 92.56 kB / 0.9328 GB, free: 31.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01237/3.15, allocations: 3.218 MB / 0.9359 GB, free: 31.02 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001215/3.151, allocations: 90.86 kB / 0.936 GB, free: 30.99 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00505/3.156, allocations: 3.985 MB / 0.9399 GB, free: 28.98 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003019/3.159, allocations: 1.399 MB / 0.9413 GB, free: 28.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001625/3.161, allocations: 119.6 kB / 0.9414 GB, free: 28.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001068/3.162, allocations: 0.5376 MB / 0.9419 GB, free: 27.78 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01064/3.173, allocations: 2.722 MB / 0.9446 GB, free: 27.77 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01377/3.187, allocations: 4.835 MB / 0.9493 GB, free: 25.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01392/3.201, allocations: 3.897 MB / 0.9531 GB, free: 25.08 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001306/3.201, allocations: 22.39 kB / 0.9531 GB, free: 25.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.03901/3.24, allocations: 8.745 MB / 0.9617 GB, free: 24.57 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001529/3.24, allocations: 37.19 kB / 0.9617 GB, free: 24.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001996/3.24, allocations: 72.53 kB / 0.9618 GB, free: 24.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00933/3.25, allocations: 1.21 MB / 0.963 GB, free: 24.35 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01449/3.264, allocations: 1.319 MB / 0.9642 GB, free: 24.31 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03354/3.298, allocations: 9.071 MB / 0.9731 GB, free: 19.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01022/3.308, allocations: 337.7 kB / 0.9734 GB, free: 19.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002028/3.31, allocations: 279.1 kB / 0.9737 GB, free: 19.36 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (697): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.3%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003387/3.314, allocations: 479.4 kB / 0.9741 GB, free: 19.05 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00215/3.316, allocations: 394.2 kB / 0.9745 GB, free: 18.85 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02343/3.339, allocations: 6.583 MB / 0.9809 GB, free: 16.28 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01572/3.355, allocations: 5.46 MB / 0.9863 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.559e-05/3.355, allocations: 12.56 kB / 0.9863 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000113/3.355, allocations: 25.28 kB / 0.9863 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04625/3.402, allocations: 16.22 MB / 1.002 GB, free: 7.348 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.302e-05/3.402, allocations: 7.875 kB / 1.002 GB, free: 7.348 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005994/3.408, allocations: 0.7178 MB / 1.003 GB, free: 7.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005217/3.413, allocations: 1.065 MB / 1.004 GB, free: 6.762 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000916/3.414, allocations: 90.52 kB / 1.004 GB, free: 6.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02263/3.437, allocations: 8.176 MB / 1.012 GB, free: 0 / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-05/3.437, allocations: 9.141 kB / 1.012 GB, free: 0 / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02827/3.465, allocations: 10.15 MB / 1.022 GB, free: 6.875 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003897/3.469, allocations: 0.9743 MB / 1.023 GB, free: 5.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001536/3.47, allocations: 76 kB / 1.023 GB, free: 5.906 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004923/3.475, allocations: 210.5 kB / 1.023 GB, free: 5.754 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001343/3.477, allocations: 292.1 kB / 1.023 GB, free: 5.574 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005426/3.477, allocations: 119.6 kB / 1.024 GB, free: 5.461 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007053/3.484, allocations: 2.4 MB / 1.026 GB, free: 3.344 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.82e-07/3.485, allocations: 0 / 1.026 GB, free: 3.344 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01077/3.495, allocations: 1.65 MB / 1.027 GB, free: 1.707 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (392): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,40.8%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03182/3.527, allocations: 12.3 MB / 1.039 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02195/3.549, allocations: 6.811 MB / 1.046 GB, free: 0.5625 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.509e-05/3.549, allocations: 0 / 1.046 GB, free: 0.5625 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.3852/3.934, allocations: 3.827 MB / 1.05 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008291/3.943, allocations: 0.8575 MB / 1.051 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06407/4.007, allocations: 17 MB / 1.067 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01562/4.023, allocations: 6.355 MB / 1.073 GB, free: 99.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01106/4.034, allocations: 1.907 MB / 1.075 GB, free: 99.78 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009018/4.043, allocations: 3.213 MB / 1.078 GB, free: 99.78 MB / 0.4948 GB Notification: Performance of SimCode: time 1.703e-06/4.043, allocations: 0 / 1.078 GB, free: 99.78 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3099/4.353, allocations: 128 MB / 1.204 GB, free: 30.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002559/4.353, allocations: 232.5 kB / 1.204 GB, free: 30.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.635/10.99, allocations: 0 / 1.204 GB, free: 30.5 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat does not exist to compare? outputFormat=mat