Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.913/1.913, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.725e-05/3.734e-05, allocations: 4 kB / 269.5 MB, free: 6.266 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09943/0.09951, allocations: 47.57 MB / 317.1 MB, free: 6.613 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4943/0.5938, allocations: 130.7 MB / 447.8 MB, free: 5.805 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003627/0.5943, allocations: 103.1 kB / 447.9 MB, free: 5.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.801/2.395, allocations: 379.4 MB / 0.8079 GB, free: 38.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.294e-06/2.395, allocations: 0 / 0.8079 GB, free: 38.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007351/2.396, allocations: 242.8 kB / 0.8081 GB, free: 37.86 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.04747/2.444, allocations: 10.27 MB / 0.8182 GB, free: 27.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/2.444, allocations: 8.031 kB / 0.8182 GB, free: 27.56 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008493/2.452, allocations: 1.804 MB / 0.8199 GB, free: 25.76 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05189/2.504, allocations: 6.283 MB / 0.8261 GB, free: 19.51 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0312/2.535, allocations: 8.757 MB / 0.8346 GB, free: 10.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001561/2.537, allocations: 0.7941 MB / 0.8354 GB, free: 9.977 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005675/2.543, allocations: 1.027 MB / 0.8364 GB, free: 8.949 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4577/3.001, allocations: 18.89 MB / 0.8549 GB, free: 36.88 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006682/3.001, allocations: 13.34 kB / 0.8549 GB, free: 36.88 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004731/3.006, allocations: 452.9 kB / 0.8553 GB, free: 36.88 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001771/3.008, allocations: 0.8217 MB / 0.8561 GB, free: 36.85 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05276/3.061, allocations: 17.69 MB / 0.8734 GB, free: 36.8 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1566/3.217, allocations: 61.29 MB / 0.9332 GB, free: 18.69 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03669/3.254, allocations: 24.9 MB / 0.9576 GB, free: 1.391 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02569/3.28, allocations: 8.616 MB / 0.966 GB, free: 14.97 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07951/3.359, allocations: 26.49 MB / 0.9918 GB, free: 460 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001415/3.359, allocations: 111.1 kB / 0.9919 GB, free: 340 kB / 458.7 MB Notification: Performance of pre-optimization done (n=832): time 1.29e-05/3.36, allocations: 1.875 kB / 0.9919 GB, free: 340 kB / 458.7 MB Notification: Performance of matching and sorting (n=838): time 0.1066/3.466, allocations: 29.01 MB / 1.02 GB, free: 10.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/3.466, allocations: 120.9 kB / 1.02 GB, free: 10.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007377/3.474, allocations: 2.678 MB / 1.023 GB, free: 7.906 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001908/3.476, allocations: 141 kB / 1.023 GB, free: 7.766 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004145/3.48, allocations: 3.866 MB / 1.027 GB, free: 4.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005302/3.485, allocations: 2.745 MB / 1.03 GB, free: 1.793 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001795/3.487, allocations: 144 kB / 1.03 GB, free: 1.652 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001071/3.488, allocations: 0.6395 MB / 1.03 GB, free: 1.102 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.364/3.852, allocations: 5.486 MB / 1.036 GB, free: 85.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01747/3.87, allocations: 6.908 MB / 1.042 GB, free: 84.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01766/3.887, allocations: 6.65 MB / 1.049 GB, free: 84.17 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001046/3.888, allocations: 11.88 kB / 1.049 GB, free: 84.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=1044) (initialization): time 0.04574/3.933, allocations: 15.97 MB / 1.065 GB, free: 83.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.906e-05/3.933, allocations: 20.94 kB / 1.065 GB, free: 83.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001118/3.934, allocations: 46.67 kB / 1.065 GB, free: 83.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01532/3.949, allocations: 4.985 MB / 1.069 GB, free: 83.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.011/3.96, allocations: 1.345 MB / 1.071 GB, free: 83.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02118/3.981, allocations: 12.34 MB / 1.083 GB, free: 80.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00858/3.99, allocations: 426.2 kB / 1.083 GB, free: 80.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002379/3.992, allocations: 318.9 kB / 1.084 GB, free: 80.66 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (704): * Single equations (assignments): 638 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,18 115} Notification: Performance of prepare postOptimizeDAE: time 0.003507/3.996, allocations: 491.5 kB / 1.084 GB, free: 80.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00239/3.998, allocations: 0.4939 MB / 1.085 GB, free: 80.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0462/4.044, allocations: 15.91 MB / 1.1 GB, free: 79.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0362/4.081, allocations: 14.12 MB / 1.114 GB, free: 73.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.548e-05/4.081, allocations: 0 / 1.114 GB, free: 73.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001796/4.081, allocations: 34.12 kB / 1.114 GB, free: 73.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1039/4.185, allocations: 30.63 MB / 1.144 GB, free: 59.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001508/4.185, allocations: 0 / 1.144 GB, free: 59.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009265/4.194, allocations: 1.015 MB / 1.145 GB, free: 58.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01494/4.209, allocations: 4.802 MB / 1.149 GB, free: 54.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002109/4.212, allocations: 178.5 kB / 1.15 GB, free: 54.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02017/4.232, allocations: 12.15 MB / 1.162 GB, free: 43.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/4.232, allocations: 0 / 1.162 GB, free: 43.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05673/4.288, allocations: 23.54 MB / 1.184 GB, free: 22.33 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006338/4.295, allocations: 1.796 MB / 1.186 GB, free: 20.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002812/4.298, allocations: 124 kB / 1.186 GB, free: 20.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007224/4.305, allocations: 367.5 kB / 1.187 GB, free: 20.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002767/4.308, allocations: 0.5944 MB / 1.187 GB, free: 19.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001353/4.309, allocations: 221 kB / 1.188 GB, free: 19.76 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004321/4.314, allocations: 2.022 MB / 1.189 GB, free: 17.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.91e-07/4.314, allocations: 2.438 kB / 1.189 GB, free: 17.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01104/4.325, allocations: 1.99 MB / 1.191 GB, free: 15.99 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (538): * Single equations (assignments): 472 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,17 116} Notification: Performance of Backend phase and start with SimCode phase: time 0.4215/4.746, allocations: 25.19 MB / 1.216 GB, free: 79.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03641/4.783, allocations: 13.3 MB / 1.229 GB, free: 79.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/4.783, allocations: 0 / 1.229 GB, free: 79.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02038/4.803, allocations: 6.965 MB / 1.236 GB, free: 79.04 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009023/4.812, allocations: 0.9803 MB / 1.237 GB, free: 79.01 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07284/4.885, allocations: 24.17 MB / 1.26 GB, free: 75.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01528/4.9, allocations: 7.373 MB / 1.268 GB, free: 74.96 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01108/4.912, allocations: 1.846 MB / 1.269 GB, free: 74.81 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0106/4.922, allocations: 3.892 MB / 1.273 GB, free: 74.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.533e-06/4.922, allocations: 0 / 1.273 GB, free: 74.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7631/5.685, allocations: 197 MB / 1.466 GB, free: 74.64 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002516/5.686, allocations: 249.1 kB / 1.466 GB, free: 74.32 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.289/13.97, allocations: 0 / 1.466 GB, free: 74.32 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat does not exist to compare? outputFormat=mat