Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2/2, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.696e-05/3.726e-05, allocations: 0 / 269.5 MB, free: 6.273 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1098, allocations: 47.58 MB / 317.1 MB, free: 6.609 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.557/0.6669, allocations: 152.8 MB / 469.9 MB, free: 15.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003862/0.6673, allocations: 95.06 kB / 470 MB, free: 15.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.433/3.101, allocations: 456.6 MB / 0.9049 GB, free: 36.24 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.043e-06/3.101, allocations: 0 / 0.9049 GB, free: 36.24 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001338/3.102, allocations: 338.4 kB / 0.9052 GB, free: 36.21 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: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.06506/3.167, allocations: 13.28 MB / 0.9182 GB, free: 32.14 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/3.167, allocations: 11.12 kB / 0.9182 GB, free: 32.14 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0117/3.179, allocations: 2.309 MB / 0.9204 GB, free: 31.97 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05465/3.234, allocations: 6.461 MB / 0.9267 GB, free: 31.18 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04221/3.276, allocations: 11.52 MB / 0.938 GB, free: 29.81 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001856/3.278, allocations: 1.046 MB / 0.939 GB, free: 29.78 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007726/3.285, allocations: 1.374 MB / 0.9403 GB, free: 29.77 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08192/3.367, allocations: 23.21 MB / 0.963 GB, free: 26.79 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000989/3.369, allocations: 20.55 kB / 0.963 GB, free: 26.78 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00711/3.376, allocations: 0.5912 MB / 0.9636 GB, free: 26.34 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001503/3.377, allocations: 0.9244 MB / 0.9645 GB, free: 26.14 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06586/3.443, allocations: 20.81 MB / 0.9848 GB, free: 13.77 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6456/4.089, allocations: 75.21 MB / 1.058 GB, free: 28.48 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04645/4.135, allocations: 28.17 MB / 1.086 GB, free: 29.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02385/4.159, allocations: 9.36 MB / 1.095 GB, free: 29.08 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08822/4.247, allocations: 29.53 MB / 1.124 GB, free: 27.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/4.248, allocations: 116.9 kB / 1.124 GB, free: 27.26 MB / 490.7 MB Notification: Performance of pre-optimization done (n=934): time 1.49e-05/4.248, allocations: 0 / 1.124 GB, free: 27.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=942): time 0.09872/4.346, allocations: 33.16 MB / 1.156 GB, free: 11.83 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/4.347, allocations: 159.8 kB / 1.156 GB, free: 11.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01087/4.357, allocations: 4.1 MB / 1.16 GB, free: 10.17 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002141/4.36, allocations: 153.4 kB / 1.161 GB, free: 10.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004869/4.365, allocations: 5.332 MB / 1.166 GB, free: 6.062 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.006005/4.371, allocations: 3.105 MB / 1.169 GB, free: 3.645 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002594/4.373, allocations: 167.4 kB / 1.169 GB, free: 3.516 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001357/4.375, allocations: 0.6878 MB / 1.17 GB, free: 3.043 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01674/4.391, allocations: 5.958 MB / 1.175 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02735/4.419, allocations: 8.274 MB / 1.184 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02038/4.439, allocations: 7.266 MB / 1.191 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001013/4.439, allocations: 16 kB / 1.191 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.4835/4.923, allocations: 18.97 MB / 1.209 GB, free: 73.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/4.923, allocations: 32.25 kB / 1.209 GB, free: 73.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002204/4.923, allocations: 53.12 kB / 1.209 GB, free: 73.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03383/4.957, allocations: 5.855 MB / 1.215 GB, free: 73.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01787/4.975, allocations: 1.52 MB / 1.216 GB, free: 73.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05313/5.028, allocations: 19.98 MB / 1.236 GB, free: 66.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01487/5.043, allocations: 430 kB / 1.236 GB, free: 66.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002957/5.046, allocations: 376.8 kB / 1.237 GB, free: 66.47 MB / 0.4948 GB 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.004586/5.051, allocations: 0.5602 MB / 1.237 GB, free: 66.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003183/5.054, allocations: 0.661 MB / 1.238 GB, free: 66.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.054/5.108, allocations: 18.08 MB / 1.256 GB, free: 65.72 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04011/5.148, allocations: 14.28 MB / 1.27 GB, free: 65.44 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-05/5.148, allocations: 3.812 kB / 1.27 GB, free: 65.44 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002212/5.149, allocations: 47.23 kB / 1.27 GB, free: 65.44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09902/5.248, allocations: 35.31 MB / 1.304 GB, free: 52.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001441/5.248, allocations: 3.844 kB / 1.304 GB, free: 52.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00979/5.258, allocations: 1.037 MB / 1.305 GB, free: 52.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02072/5.279, allocations: 5.952 MB / 1.311 GB, free: 51 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002467/5.281, allocations: 210.8 kB / 1.311 GB, free: 50.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03938/5.32, allocations: 24.21 MB / 1.335 GB, free: 34.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/5.32, allocations: 5.594 kB / 1.335 GB, free: 34.52 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06676/5.387, allocations: 27.01 MB / 1.361 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007911/5.395, allocations: 2.101 MB / 1.363 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003803/5.399, allocations: 151.2 kB / 1.363 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009299/5.408, allocations: 374.9 kB / 1.364 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00363/5.412, allocations: 0.7039 MB / 1.364 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002497/5.415, allocations: 251.7 kB / 1.365 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008581/5.423, allocations: 3.104 MB / 1.368 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.213e-06/5.423, allocations: 3.688 kB / 1.368 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01504/5.438, allocations: 2.498 MB / 1.37 GB, free: 6.594 MB / 0.4948 GB 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.5074/5.946, allocations: 31.08 MB / 1.4 GB, free: 89.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.05176/5.998, allocations: 15.24 MB / 1.415 GB, free: 89.08 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/5.998, allocations: 7.016 kB / 1.415 GB, free: 89.08 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02497/6.023, allocations: 8.631 MB / 1.424 GB, free: 88.21 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01377/6.036, allocations: 1.476 MB / 1.425 GB, free: 88.18 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09819/6.135, allocations: 30.14 MB / 1.455 GB, free: 83.81 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02198/6.157, allocations: 9.326 MB / 1.464 GB, free: 82.64 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01395/6.171, allocations: 2.067 MB / 1.466 GB, free: 82.42 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01361/6.184, allocations: 5.28 MB / 1.471 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of SimCode: time 2.134e-06/6.184, allocations: 0 / 1.471 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9258/7.11, allocations: 249.6 MB / 1.715 GB, free: 51.51 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002468/7.111, allocations: 242.9 kB / 1.715 GB, free: 51.19 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/17.95, allocations: 0 / 1.715 GB, free: 51.19 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat does not exist to compare? outputFormat=mat