Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.175/2.175, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.248e-05/3.257e-05, allocations: 4 kB / 292.3 MB, free: 8.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1057, allocations: 50.41 MB / 342.7 MB, free: 5.758 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4924/0.5981, allocations: 123.6 MB / 466.3 MB, free: 3.281 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/0.5985, allocations: 96.98 kB / 466.4 MB, free: 3.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7605/1.359, allocations: 117.8 MB / 0.5705 GB, free: 96.24 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.465e-06/1.359, allocations: 3.406 kB / 0.5705 GB, free: 96.24 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000501/1.36, allocations: 134.9 kB / 0.5706 GB, free: 96.22 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: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.01991/1.38, allocations: 4.94 MB / 0.5755 GB, free: 94.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/1.38, allocations: 10.09 kB / 0.5755 GB, free: 94.34 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002953/1.383, allocations: 0.7005 MB / 0.5762 GB, free: 94.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007862/1.39, allocations: 0.9944 MB / 0.5771 GB, free: 93.96 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01609/1.407, allocations: 4.601 MB / 0.5816 GB, free: 92.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004763/1.407, allocations: 387.6 kB / 0.582 GB, free: 92.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002114/1.409, allocations: 0.5054 MB / 0.5825 GB, free: 92.37 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02054/1.43, allocations: 6.643 MB / 0.589 GB, free: 89.22 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002607/1.43, allocations: 15.22 kB / 0.589 GB, free: 89.21 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001534/1.432, allocations: 222.9 kB / 0.5892 GB, free: 89.05 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000267/1.432, allocations: 232.3 kB / 0.5894 GB, free: 89.03 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01665/1.449, allocations: 5.358 MB / 0.5947 GB, free: 86.82 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05329/1.502, allocations: 21.44 MB / 0.6156 GB, free: 72.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01142/1.513, allocations: 8.642 MB / 0.624 GB, free: 63.81 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005405/1.519, allocations: 2.206 MB / 0.6262 GB, free: 61.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01633/1.535, allocations: 6.173 MB / 0.6322 GB, free: 55.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/1.535, allocations: 60.78 kB / 0.6323 GB, free: 55.79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=220): time 5.47e-06/1.535, allocations: 0 / 0.6323 GB, free: 55.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=239): time 0.02738/1.563, allocations: 8.957 MB / 0.641 GB, free: 46.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/1.563, allocations: 81.41 kB / 0.6411 GB, free: 46.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006192/1.569, allocations: 2.582 MB / 0.6436 GB, free: 44.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005593/1.57, allocations: 65.7 kB / 0.6437 GB, free: 44 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001794/1.571, allocations: 2.302 MB / 0.6459 GB, free: 41.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001071/1.573, allocations: 0.8168 MB / 0.6467 GB, free: 40.87 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002809/1.573, allocations: 60 kB / 0.6468 GB, free: 40.81 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/1.573, allocations: 419.9 kB / 0.6472 GB, free: 40.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003034/1.576, allocations: 1.294 MB / 0.6485 GB, free: 39.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003553/1.58, allocations: 2.028 MB / 0.6504 GB, free: 36.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003748/1.583, allocations: 1.642 MB / 0.652 GB, free: 35.08 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.401e-05/1.584, allocations: 8 kB / 0.652 GB, free: 35.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=365) (initialization): time 0.0118/1.595, allocations: 4.461 MB / 0.6564 GB, free: 30.51 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/1.595, allocations: 21.19 kB / 0.6564 GB, free: 30.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.736e-05/1.595, allocations: 20 kB / 0.6564 GB, free: 30.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002748/1.598, allocations: 0.7583 MB / 0.6572 GB, free: 29.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004614/1.603, allocations: 0.6357 MB / 0.6578 GB, free: 29.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/1.617, allocations: 13.35 MB / 0.6708 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004126/1.621, allocations: 155.8 kB / 0.671 GB, free: 14.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003727/1.622, allocations: 120 kB / 0.6711 GB, free: 14.51 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 312 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(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 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006916/1.623, allocations: 276.7 kB / 0.6714 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007197/1.623, allocations: 320.1 kB / 0.6717 GB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009842/1.633, allocations: 4.121 MB / 0.6757 GB, free: 9.707 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.341e-05/1.633, allocations: 24 kB / 0.6757 GB, free: 9.684 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/1.633, allocations: 12 kB / 0.6757 GB, free: 9.672 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.064e-05/1.633, allocations: 11.95 kB / 0.6757 GB, free: 9.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02124/1.654, allocations: 9.02 MB / 0.6845 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/1.655, allocations: 4 kB / 0.6846 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003354/1.658, allocations: 383.5 kB / 0.6849 GB, free: 136 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3279/1.986, allocations: 0.9136 MB / 0.6858 GB, free: 87.37 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005861/1.987, allocations: 66.61 kB / 0.6859 GB, free: 87.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02243/2.009, allocations: 16.48 MB / 0.702 GB, free: 77.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/2.009, allocations: 10.41 kB / 0.702 GB, free: 77.06 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01591/2.025, allocations: 6.273 MB / 0.7081 GB, free: 75.97 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002721/2.028, allocations: 0.6994 MB / 0.7088 GB, free: 75.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001153/2.029, allocations: 57.56 kB / 0.7088 GB, free: 75.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0035/2.032, allocations: 141.2 kB / 0.709 GB, free: 75.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008173/2.033, allocations: 199.5 kB / 0.7092 GB, free: 75.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002897/2.034, allocations: 70.41 kB / 0.7092 GB, free: 75.87 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005309/2.039, allocations: 1.971 MB / 0.7112 GB, free: 75.71 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.11e-07/2.039, allocations: 0 / 0.7112 GB, free: 75.71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005874/2.045, allocations: 1.021 MB / 0.7122 GB, free: 75.71 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.stator.zeroInductor.i0,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 171 * 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: 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: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01551/2.06, allocations: 8.177 MB / 0.7201 GB, free: 73.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009637/2.07, allocations: 4.352 MB / 0.7244 GB, free: 72.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/2.07, allocations: 1.688 kB / 0.7244 GB, free: 72.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006726/2.077, allocations: 2.91 MB / 0.7272 GB, free: 70.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006779/2.084, allocations: 0.8396 MB / 0.7281 GB, free: 70.47 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02674/2.11, allocations: 9.618 MB / 0.7374 GB, free: 66.63 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005704/2.116, allocations: 3.522 MB / 0.7409 GB, free: 65.31 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004533/2.121, allocations: 0.7639 MB / 0.7416 GB, free: 65.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00422/2.125, allocations: 1.947 MB / 0.7435 GB, free: 63.61 MB / 442.7 MB Notification: Performance of SimCode: time 1.432e-06/2.125, allocations: 0 / 0.7435 GB, free: 63.61 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2332/2.358, allocations: 87.29 MB / 0.8288 GB, free: 4.801 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002459/2.359, allocations: 226.3 kB / 0.829 GB, free: 4.562 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.629/7.987, allocations: 0 / 0.829 GB, free: 4.562 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat does not exist to compare? outputFormat=mat