Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_ComparisonPolyphase_IMC_DOL_Polyphase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.209/2.209, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.875e-05/3.884e-05, allocations: 7.984 kB / 292.3 MB, free: 8.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1094, allocations: 50.41 MB / 342.7 MB, free: 5.746 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4899/0.5993, allocations: 114.7 MB / 457.4 MB, free: 11.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003696/0.5998, allocations: 100.9 kB / 457.5 MB, free: 11.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9822/1.582, allocations: 183.7 MB / 0.6261 GB, free: 64.29 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.475e-06/1.582, allocations: 0 / 0.6261 GB, free: 64.29 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007948/1.583, allocations: 195.8 kB / 0.6263 GB, free: 64.1 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: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.03247/1.615, allocations: 7.637 MB / 0.6338 GB, free: 56.38 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/1.615, allocations: 8.031 kB / 0.6338 GB, free: 56.37 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004703/1.62, allocations: 1.091 MB / 0.6348 GB, free: 55.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01482/1.635, allocations: 1.828 MB / 0.6366 GB, free: 53.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02381/1.659, allocations: 6.951 MB / 0.6434 GB, free: 46.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007702/1.66, allocations: 0.6017 MB / 0.644 GB, free: 45.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003362/1.663, allocations: 0.7811 MB / 0.6448 GB, free: 45.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03452/1.698, allocations: 10.67 MB / 0.6552 GB, free: 34.11 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004176/1.698, allocations: 15.92 kB / 0.6552 GB, free: 34.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002794/1.701, allocations: 332 kB / 0.6555 GB, free: 33.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004049/1.701, allocations: 368.2 kB / 0.6559 GB, free: 33.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02829/1.73, allocations: 8.896 MB / 0.6646 GB, free: 24.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4408/2.17, allocations: 34.52 MB / 0.6983 GB, free: 49 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03168/2.202, allocations: 19.65 MB / 0.7175 GB, free: 34.45 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009724/2.212, allocations: 3.597 MB / 0.721 GB, free: 34.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02903/2.241, allocations: 9.462 MB / 0.7302 GB, free: 33.56 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.87e-05/2.241, allocations: 67.12 kB / 0.7303 GB, free: 33.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=317): time 7.544e-06/2.241, allocations: 2.938 kB / 0.7303 GB, free: 33.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=323): time 0.02834/2.27, allocations: 10.09 MB / 0.7401 GB, free: 31.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/2.27, allocations: 91.97 kB / 0.7402 GB, free: 31.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01387/2.284, allocations: 3.83 MB / 0.744 GB, free: 31.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008873/2.284, allocations: 79.2 kB / 0.744 GB, free: 31.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004299/2.289, allocations: 3.529 MB / 0.7475 GB, free: 29.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002147/2.291, allocations: 1.087 MB / 0.7485 GB, free: 29.13 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006202/2.292, allocations: 79.53 kB / 0.7486 GB, free: 29.13 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004051/2.292, allocations: 456.5 kB / 0.7491 GB, free: 28.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006742/2.299, allocations: 1.694 MB / 0.7507 GB, free: 28.81 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007395/2.306, allocations: 2.682 MB / 0.7533 GB, free: 27.67 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007985/2.314, allocations: 2.181 MB / 0.7555 GB, free: 27.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.497e-05/2.314, allocations: 11.44 kB / 0.7555 GB, free: 27.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=490) (initialization): time 0.02208/2.337, allocations: 5.664 MB / 0.761 GB, free: 27.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.959e-05/2.337, allocations: 18.12 kB / 0.761 GB, free: 27.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.153e-05/2.337, allocations: 32.62 kB / 0.761 GB, free: 27.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004389/2.341, allocations: 0.7981 MB / 0.7618 GB, free: 27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00786/2.349, allocations: 0.8029 MB / 0.7626 GB, free: 27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01901/2.368, allocations: 14.81 MB / 0.7771 GB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005687/2.374, allocations: 188.3 kB / 0.7773 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009234/2.375, allocations: 159.1 kB / 0.7774 GB, free: 15.62 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 140 * Number of states: 0 () * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (427): * Single equations (assignments): 418 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(4,56.2%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001004/2.376, allocations: 336.9 kB / 0.7777 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001379/2.377, allocations: 456.6 kB / 0.7782 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01575/2.393, allocations: 5.421 MB / 0.7835 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.024e-05/2.393, allocations: 30.31 kB / 0.7835 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.166e-05/2.393, allocations: 25.42 kB / 0.7835 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.192e-05/2.393, allocations: 16.55 kB / 0.7835 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03539/2.429, allocations: 12.35 MB / 0.7956 GB, free: 7.617 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-05/2.429, allocations: 6.656 kB / 0.7956 GB, free: 7.617 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003451/2.432, allocations: 381.1 kB / 0.796 GB, free: 7.605 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005861/2.438, allocations: 1.36 MB / 0.7973 GB, free: 7.195 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000662/2.439, allocations: 93.81 kB / 0.7974 GB, free: 7.141 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03803/2.477, allocations: 23.96 MB / 0.8208 GB, free: 5.293 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/2.477, allocations: 12.12 kB / 0.8208 GB, free: 5.293 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02015/2.497, allocations: 8.127 MB / 0.8287 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004113/2.501, allocations: 0.964 MB / 0.8297 GB, free: 0 / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002034/2.503, allocations: 103.7 kB / 0.8298 GB, free: 0 / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005856/2.509, allocations: 250.5 kB / 0.83 GB, free: 0 / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00228/2.512, allocations: 383.6 kB / 0.8304 GB, free: 15.92 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004315/2.512, allocations: 97.61 kB / 0.8305 GB, free: 15.83 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008122/2.52, allocations: 2.912 MB / 0.8333 GB, free: 13.21 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.11e-07/2.52, allocations: 0 / 0.8333 GB, free: 13.21 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008692/2.529, allocations: 1.468 MB / 0.8347 GB, free: 11.75 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.core.Phi.re,aimc3.stator.core.Phi.im,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 23,(6,72.2%) 46,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02356/2.552, allocations: 9.931 MB / 0.8444 GB, free: 2.641 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01635/2.569, allocations: 5.404 MB / 0.8497 GB, free: 14.14 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/2.569, allocations: 0 / 0.8497 GB, free: 14.14 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01065/2.58, allocations: 3.838 MB / 0.8535 GB, free: 10.63 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009606/2.589, allocations: 1.162 MB / 0.8546 GB, free: 9.727 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3818/2.971, allocations: 14.05 MB / 0.8683 GB, free: 104.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0112/2.982, allocations: 5.247 MB / 0.8734 GB, free: 103.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00617/2.989, allocations: 1.002 MB / 0.8744 GB, free: 103.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006294/2.995, allocations: 3 MB / 0.8773 GB, free: 103.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.373e-06/2.995, allocations: 1.094 kB / 0.8773 GB, free: 103.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2986/3.294, allocations: 125.7 MB / 1 GB, free: 39.02 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007002/3.294, allocations: 258.5 kB / 1 GB, free: 38.67 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.995/10.29, allocations: 0 / 1 GB, free: 38.67 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase_res.mat does not exist to compare? outputFormat=mat