Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.932/1.932, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.392e-05/3.407e-05, allocations: 4 kB / 255.5 MB, free: 2.574 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1157, allocations: 44.5 MB / 300 MB, free: 6.016 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5438/0.6596, allocations: 147.2 MB / 447.2 MB, free: 13.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003636/0.66, allocations: 101.2 kB / 447.3 MB, free: 13.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.447/3.107, allocations: 458.7 MB / 0.8848 GB, free: 33.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.068e-06/3.107, allocations: 4 kB / 0.8848 GB, free: 33.51 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001404/3.109, allocations: 333 kB / 0.8851 GB, free: 33.48 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: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.06832/3.177, allocations: 13.27 MB / 0.898 GB, free: 29.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/3.177, allocations: 11.84 kB / 0.8981 GB, free: 29.43 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01282/3.19, allocations: 2.299 MB / 0.9003 GB, free: 29.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0568/3.247, allocations: 6.472 MB / 0.9066 GB, free: 28.46 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04262/3.289, allocations: 11.52 MB / 0.9179 GB, free: 27.11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00189/3.291, allocations: 1.048 MB / 0.9189 GB, free: 27.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008005/3.299, allocations: 1.376 MB / 0.9202 GB, free: 27.06 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08139/3.381, allocations: 23.21 MB / 0.9429 GB, free: 25.42 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000931/3.382, allocations: 18.44 kB / 0.9429 GB, free: 25.42 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00723/3.389, allocations: 0.5898 MB / 0.9435 GB, free: 25.42 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001612/3.391, allocations: 0.9266 MB / 0.9444 GB, free: 25.39 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06564/3.456, allocations: 20.81 MB / 0.9647 GB, free: 19.35 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6174/4.074, allocations: 75.14 MB / 1.038 GB, free: 28.32 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04459/4.119, allocations: 28.18 MB / 1.066 GB, free: 29.03 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02318/4.142, allocations: 9.355 MB / 1.075 GB, free: 28.91 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08133/4.223, allocations: 29.55 MB / 1.104 GB, free: 27.54 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000114/4.223, allocations: 115.9 kB / 1.104 GB, free: 27.49 MB / 474.7 MB Notification: Performance of pre-optimization done (n=934): time 1.404e-05/4.223, allocations: 0 / 1.104 GB, free: 27.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=942): time 0.09478/4.318, allocations: 33.14 MB / 1.136 GB, free: 14.73 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/4.318, allocations: 167 kB / 1.136 GB, free: 14.63 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01134/4.33, allocations: 4.091 MB / 1.14 GB, free: 13.08 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002275/4.332, allocations: 150.2 kB / 1.14 GB, free: 12.95 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004919/4.337, allocations: 5.341 MB / 1.146 GB, free: 8.965 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00589/4.343, allocations: 3.1 MB / 1.149 GB, free: 6.547 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002215/4.345, allocations: 170.4 kB / 1.149 GB, free: 6.418 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001167/4.346, allocations: 0.6935 MB / 1.149 GB, free: 5.941 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01639/4.363, allocations: 5.96 MB / 1.155 GB, free: 3.449 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01912/4.382, allocations: 7.792 MB / 1.163 GB, free: 14.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0202/4.402, allocations: 7.261 MB / 1.17 GB, free: 10.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.14e-05/4.402, allocations: 16 kB / 1.17 GB, free: 10.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.4531/4.855, allocations: 18.8 MB / 1.188 GB, free: 70.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.865e-05/4.855, allocations: 26.72 kB / 1.188 GB, free: 70.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001644/4.856, allocations: 51.38 kB / 1.188 GB, free: 70.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02173/4.877, allocations: 5.858 MB / 1.194 GB, free: 70.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01254/4.89, allocations: 1.525 MB / 1.196 GB, free: 70.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0352/4.925, allocations: 19.97 MB / 1.215 GB, free: 63.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0106/4.936, allocations: 425 kB / 1.216 GB, free: 63.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002825/4.939, allocations: 375.8 kB / 1.216 GB, free: 63.15 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 232 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (800): * Single equations (assignments): 747 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 44 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 4 {6 9,6 9,6 9,30 175} Notification: Performance of prepare postOptimizeDAE: time 0.004815/4.944, allocations: 0.5643 MB / 1.216 GB, free: 63.04 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003788/4.947, allocations: 0.6532 MB / 1.217 GB, free: 63.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05386/5.001, allocations: 18.08 MB / 1.235 GB, free: 62.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03848/5.04, allocations: 14.28 MB / 1.249 GB, free: 62.13 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.134e-05/5.04, allocations: 7.344 kB / 1.249 GB, free: 62.13 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002107/5.04, allocations: 39.47 kB / 1.249 GB, free: 62.13 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1012/5.141, allocations: 35.33 MB / 1.283 GB, free: 50.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001428/5.142, allocations: 4.469 kB / 1.283 GB, free: 50.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009863/5.151, allocations: 1.039 MB / 1.284 GB, free: 50.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02084/5.172, allocations: 5.945 MB / 1.29 GB, free: 48.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002902/5.175, allocations: 207.1 kB / 1.29 GB, free: 48.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03773/5.213, allocations: 24.2 MB / 1.314 GB, free: 32.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/5.213, allocations: 5.125 kB / 1.314 GB, free: 32.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08211/5.295, allocations: 27.02 MB / 1.34 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007818/5.303, allocations: 2.104 MB / 1.342 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003542/5.307, allocations: 146.3 kB / 1.342 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01004/5.317, allocations: 376.6 kB / 1.343 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004348/5.321, allocations: 0.7138 MB / 1.344 GB, free: 9.559 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002683/5.324, allocations: 255.2 kB / 1.344 GB, free: 9.336 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01118/5.335, allocations: 3.099 MB / 1.347 GB, free: 6.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.162e-06/5.335, allocations: 0 / 1.347 GB, free: 6.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0326/5.368, allocations: 2.498 MB / 1.349 GB, free: 4.09 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (552): * Single equations (assignments): 498 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 44 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 4 {6 9,6 9,6 9,30 175} Notification: Performance of Backend phase and start with SimCode phase: time 0.4986/5.866, allocations: 29.93 MB / 1.378 GB, free: 70.46 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.04052/5.907, allocations: 15.23 MB / 1.393 GB, free: 69.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-05/5.907, allocations: 5.062 kB / 1.393 GB, free: 69.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0243/5.931, allocations: 8.631 MB / 1.402 GB, free: 68.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01371/5.945, allocations: 1.484 MB / 1.403 GB, free: 68.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1158/6.061, allocations: 30.12 MB / 1.433 GB, free: 64.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02133/6.082, allocations: 9.317 MB / 1.442 GB, free: 62.42 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01228/6.095, allocations: 2.069 MB / 1.444 GB, free: 62.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0123/6.107, allocations: 5.284 MB / 1.449 GB, free: 57.66 MB / 490.7 MB Notification: Performance of SimCode: time 1.553e-06/6.107, allocations: 2.906 kB / 1.449 GB, free: 57.66 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9711/7.078, allocations: 249.4 MB / 1.693 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004102/7.079, allocations: 245.5 kB / 1.693 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/18.31, allocations: 3.953 kB / 1.693 GB, free: 10.68 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat does not exist to compare? outputFormat=mat