Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.062/2.062, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.281e-05/3.287e-05, allocations: 4 kB / 292.3 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1068, allocations: 50.41 MB / 342.7 MB, free: 5.777 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5074/0.6143, allocations: 131.8 MB / 474.5 MB, free: 11.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003317/0.6146, allocations: 103.6 kB / 474.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.749/2.364, allocations: 379.2 MB / 0.8338 GB, free: 14.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.114e-06/2.364, allocations: 0 / 0.8338 GB, free: 14.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007214/2.365, allocations: 243.8 kB / 0.834 GB, free: 14.12 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.04758/2.412, allocations: 10.18 MB / 0.844 GB, free: 3.855 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/2.412, allocations: 8.031 kB / 0.844 GB, free: 3.848 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008219/2.421, allocations: 1.775 MB / 0.8457 GB, free: 2.059 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04872/2.469, allocations: 5.644 MB / 0.8512 GB, free: 12.39 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03435/2.504, allocations: 8.933 MB / 0.8599 GB, free: 3.371 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001269/2.505, allocations: 0.7707 MB / 0.8607 GB, free: 2.598 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005439/2.511, allocations: 1.012 MB / 0.8617 GB, free: 1.586 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.765/3.276, allocations: 17.7 MB / 0.879 GB, free: 36.12 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006794/3.276, allocations: 9.656 kB / 0.879 GB, free: 36.12 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004545/3.281, allocations: 447.1 kB / 0.8794 GB, free: 36.12 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001579/3.283, allocations: 0.8689 MB / 0.8802 GB, free: 36.1 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05962/3.342, allocations: 15.9 MB / 0.8958 GB, free: 36.05 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1581/3.5, allocations: 58.45 MB / 0.9529 GB, free: 15.52 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04629/3.547, allocations: 37.15 MB / 0.9891 GB, free: 14.36 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01049/3.557, allocations: 4.115 MB / 0.9932 GB, free: 12.73 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008206/3.558, allocations: 189.1 kB / 0.9933 GB, free: 12.62 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/3.558, allocations: 88.7 kB / 0.9934 GB, free: 12.54 MB / 490.8 MB Notification: Performance of pre-optimization done (n=524): time 8.426e-06/3.558, allocations: 3.906 kB / 0.9934 GB, free: 12.54 MB / 490.8 MB Notification: Performance of matching and sorting (n=530): time 0.0453/3.604, allocations: 15.53 MB / 1.009 GB, free: 5.613 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.858e-05/3.604, allocations: 110.2 kB / 1.009 GB, free: 5.543 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00901/3.613, allocations: 3.564 MB / 1.012 GB, free: 4.141 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001069/3.614, allocations: 107.1 kB / 1.012 GB, free: 4.047 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004549/3.618, allocations: 4.512 MB / 1.017 GB, free: 0.6641 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002934/3.621, allocations: 1.79 MB / 1.018 GB, free: 15.28 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009159/3.622, allocations: 146.8 kB / 1.019 GB, free: 15.16 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0006213/3.623, allocations: 0.6003 MB / 1.019 GB, free: 14.73 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009111/3.632, allocations: 3.361 MB / 1.022 GB, free: 12.62 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01263/3.645, allocations: 5.744 MB / 1.028 GB, free: 6.344 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0127/3.657, allocations: 4.723 MB / 1.033 GB, free: 2.355 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001166/3.658, allocations: 24 kB / 1.033 GB, free: 2.332 MB / 0.4949 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.04055/3.698, allocations: 10.99 MB / 1.043 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.773e-05/3.698, allocations: 40 kB / 1.043 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000189/3.699, allocations: 87.45 kB / 1.044 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006378/3.705, allocations: 1.392 MB / 1.045 GB, free: 9.473 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01224/3.717, allocations: 1.608 MB / 1.046 GB, free: 8.207 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4155/4.133, allocations: 10.54 MB / 1.057 GB, free: 91.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009497/4.142, allocations: 415.4 kB / 1.057 GB, free: 91.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002268/4.145, allocations: 334.4 kB / 1.057 GB, free: 91.83 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 356 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (844): * Single equations (assignments): 839 * 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%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003634/4.148, allocations: 0.5416 MB / 1.058 GB, free: 91.72 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003835/4.152, allocations: 476.1 kB / 1.058 GB, free: 91.72 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03441/4.187, allocations: 8.367 MB / 1.067 GB, free: 91.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02182/4.209, allocations: 6.944 MB / 1.073 GB, free: 91.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.739e-05/4.209, allocations: 14.06 kB / 1.073 GB, free: 91.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001654/4.209, allocations: 27.75 kB / 1.073 GB, free: 91.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.056/4.265, allocations: 19.67 MB / 1.093 GB, free: 89.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.605e-05/4.265, allocations: 5.969 kB / 1.093 GB, free: 89.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007868/4.273, allocations: 0.9269 MB / 1.094 GB, free: 89.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005417/4.278, allocations: 1.213 MB / 1.095 GB, free: 89.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001116/4.279, allocations: 107.5 kB / 1.095 GB, free: 89.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02048/4.3, allocations: 9.131 MB / 1.104 GB, free: 87.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/4.3, allocations: 6.5 kB / 1.104 GB, free: 87.76 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03026/4.33, allocations: 12.24 MB / 1.116 GB, free: 86.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004355/4.335, allocations: 1.155 MB / 1.117 GB, free: 86.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001823/4.337, allocations: 100.6 kB / 1.117 GB, free: 86.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005677/4.342, allocations: 279.7 kB / 1.117 GB, free: 86.67 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001568/4.344, allocations: 355.3 kB / 1.118 GB, free: 86.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007711/4.345, allocations: 151.2 kB / 1.118 GB, free: 86.66 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006839/4.352, allocations: 2.646 MB / 1.12 GB, free: 86.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.52e-07/4.352, allocations: 0 / 1.12 GB, free: 86.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01157/4.363, allocations: 1.975 MB / 1.122 GB, free: 86.45 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (speed.phi,resistor.resistor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (502): * Single equations (assignments): 497 * 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.8%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04541/4.409, allocations: 13.76 MB / 1.136 GB, free: 83.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0264/4.435, allocations: 8.383 MB / 1.144 GB, free: 80.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/4.435, allocations: 3.094 kB / 1.144 GB, free: 80.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01207/4.447, allocations: 4.044 MB / 1.148 GB, free: 78.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008971/4.456, allocations: 0.9971 MB / 1.149 GB, free: 78.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06411/4.52, allocations: 19.78 MB / 1.168 GB, free: 70.08 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01545/4.536, allocations: 7.195 MB / 1.175 GB, free: 64.61 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01258/4.549, allocations: 2.333 MB / 1.177 GB, free: 63.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009875/4.558, allocations: 3.875 MB / 1.181 GB, free: 59.48 MB / 0.5105 GB Notification: Performance of SimCode: time 1.643e-06/4.559, allocations: 0 / 1.181 GB, free: 59.48 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7066/5.265, allocations: 149.4 MB / 1.327 GB, free: 85.16 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002686/5.266, allocations: 255.1 kB / 1.327 GB, free: 84.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/13.01, allocations: 0 / 1.327 GB, free: 84.84 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat does not exist to compare? outputFormat=mat