Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.086/2.086, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.246e-05/3.259e-05, allocations: 4 kB / 292.8 MB, free: 8.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1067, allocations: 50.41 MB / 343.2 MB, free: 5.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4968/0.6035, allocations: 111 MB / 454.2 MB, free: 15.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003359/0.6039, allocations: 93.06 kB / 454.3 MB, free: 15.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3339/0.9378, allocations: 80.74 MB / 0.5225 GB, free: 2.055 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.9379, allocations: 0 / 0.5225 GB, free: 2.055 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003862/0.9383, allocations: 91.86 kB / 0.5226 GB, free: 1.965 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.3117/1.25, allocations: 3.2 MB / 0.5257 GB, free: 92.28 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/1.25, allocations: 11.59 kB / 0.5257 GB, free: 92.28 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001836/1.252, allocations: 458.7 kB / 0.5262 GB, free: 92.22 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006433/1.258, allocations: 0.7363 MB / 0.5269 GB, free: 92.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01311/1.272, allocations: 3.318 MB / 0.5301 GB, free: 91.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003851/1.272, allocations: 243.2 kB / 0.5304 GB, free: 91.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001312/1.273, allocations: 328.5 kB / 0.5307 GB, free: 91.69 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01279/1.286, allocations: 4.085 MB / 0.5347 GB, free: 91.31 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001319/1.286, allocations: 2.5 kB / 0.5347 GB, free: 91.31 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005162/1.287, allocations: 139 kB / 0.5348 GB, free: 91.31 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002206/1.287, allocations: 143.4 kB / 0.5349 GB, free: 91.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01083/1.298, allocations: 3.269 MB / 0.5381 GB, free: 91.29 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03507/1.333, allocations: 13.92 MB / 0.5517 GB, free: 88.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008448/1.341, allocations: 6.471 MB / 0.558 GB, free: 83.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003274/1.345, allocations: 1.354 MB / 0.5594 GB, free: 83.67 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008039/1.353, allocations: 3.607 MB / 0.5629 GB, free: 82.1 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/1.353, allocations: 56.31 kB / 0.5629 GB, free: 82.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=132): time 3.987e-06/1.353, allocations: 0 / 0.5629 GB, free: 82.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=135): time 0.00928/1.362, allocations: 4.133 MB / 0.567 GB, free: 79.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/1.362, allocations: 66.59 kB / 0.567 GB, free: 79.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002981/1.365, allocations: 1.533 MB / 0.5685 GB, free: 79.17 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000221/1.366, allocations: 52.92 kB / 0.5686 GB, free: 79.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001032/1.367, allocations: 1.446 MB / 0.57 GB, free: 78.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004575/1.367, allocations: 469 kB / 0.5705 GB, free: 77.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/1.367, allocations: 37.09 kB / 0.5705 GB, free: 77.63 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/1.367, allocations: 376 kB / 0.5708 GB, free: 77.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/1.369, allocations: 0.6402 MB / 0.5715 GB, free: 77.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001703/1.371, allocations: 1.127 MB / 0.5726 GB, free: 76.17 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001768/1.372, allocations: 0.8614 MB / 0.5734 GB, free: 75.84 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.265e-05/1.372, allocations: 6.781 kB / 0.5734 GB, free: 75.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005362/1.378, allocations: 2.404 MB / 0.5758 GB, free: 74.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/1.378, allocations: 9 kB / 0.5758 GB, free: 74.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/1.378, allocations: 16.38 kB / 0.5758 GB, free: 74.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/1.379, allocations: 371.1 kB / 0.5761 GB, free: 74.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002477/1.382, allocations: 361.6 kB / 0.5765 GB, free: 74.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008354/1.39, allocations: 7.647 MB / 0.584 GB, free: 68.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002309/1.392, allocations: 76.17 kB / 0.584 GB, free: 68.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/1.393, allocations: 69.84 kB / 0.5841 GB, free: 68.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (188): * Single equations (assignments): 183 * 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: 4 * 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: 4 {(1,100.0%) 1,(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003892/1.393, allocations: 211.8 kB / 0.5843 GB, free: 68.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003283/1.393, allocations: 193.3 kB / 0.5845 GB, free: 67.94 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005311/1.399, allocations: 2.217 MB / 0.5867 GB, free: 66.88 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/1.399, allocations: 18.61 kB / 0.5867 GB, free: 66.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/1.399, allocations: 7.531 kB / 0.5867 GB, free: 66.88 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-05/1.399, allocations: 13.48 kB / 0.5867 GB, free: 66.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/1.409, allocations: 4.969 MB / 0.5915 GB, free: 64.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/1.409, allocations: 0 / 0.5915 GB, free: 64.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/1.411, allocations: 166.8 kB / 0.5917 GB, free: 64.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002208/1.413, allocations: 0.5376 MB / 0.5922 GB, free: 64.37 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001273/1.413, allocations: 37.67 kB / 0.5923 GB, free: 64.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01375/1.427, allocations: 12.03 MB / 0.604 GB, free: 54.24 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/1.427, allocations: 3.594 kB / 0.604 GB, free: 54.24 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006719/1.434, allocations: 3.211 MB / 0.6071 GB, free: 52.56 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/1.435, allocations: 426.5 kB / 0.6076 GB, free: 52.26 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003763/1.435, allocations: 34.22 kB / 0.6076 GB, free: 52.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/1.437, allocations: 76.41 kB / 0.6077 GB, free: 52.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003159/1.437, allocations: 102.2 kB / 0.6078 GB, free: 52.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/1.437, allocations: 44.08 kB / 0.6078 GB, free: 52.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002279/1.44, allocations: 1.167 MB / 0.6089 GB, free: 51.71 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.61e-07/1.44, allocations: 4 kB / 0.6089 GB, free: 51.71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003059/1.443, allocations: 0.6207 MB / 0.6095 GB, free: 51.64 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (84): * Single equations (assignments): 78 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 7,(2,100.0%) 8,(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.007257/1.45, allocations: 4.448 MB / 0.6139 GB, free: 48.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004409/1.454, allocations: 2.208 MB / 0.616 GB, free: 47.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.454, allocations: 2.516 kB / 0.6161 GB, free: 47.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003126/1.458, allocations: 1.64 MB / 0.6177 GB, free: 46.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00362/1.461, allocations: 0.4975 MB / 0.6181 GB, free: 46.55 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/1.475, allocations: 5.533 MB / 0.6235 GB, free: 44.13 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002376/1.477, allocations: 2.362 MB / 0.6258 GB, free: 43.05 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002261/1.48, allocations: 400.5 kB / 0.6262 GB, free: 43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001908/1.482, allocations: 1.135 MB / 0.6273 GB, free: 42.05 MB / 442.7 MB Notification: Performance of SimCode: time 9.52e-07/1.482, allocations: 3.625 kB / 0.6273 GB, free: 42.05 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1208/1.602, allocations: 52.9 MB / 0.679 GB, free: 1.402 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001355/1.603, allocations: 228.7 kB / 0.6792 GB, free: 1.164 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.129/5.732, allocations: 0 / 0.6792 GB, free: 1.164 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat does not exist to compare? outputFormat=mat