Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.101/2.101, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.356e-05/3.351e-05, allocations: 4 kB / 292.3 MB, free: 8.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1089, allocations: 50.4 MB / 342.7 MB, free: 5.766 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5652/0.6742, allocations: 154 MB / 496.6 MB, free: 4.863 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003603/0.6746, allocations: 102.5 kB / 496.7 MB, free: 4.809 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.366/3.04, allocations: 456.8 MB / 0.9312 GB, free: 38.18 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.124e-06/3.04, allocations: 0 / 0.9312 GB, free: 38.18 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001121/3.042, allocations: 328.8 kB / 0.9316 GB, free: 38.14 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.06255/3.104, allocations: 13.19 MB / 0.9444 GB, free: 34.11 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/3.104, allocations: 10.28 kB / 0.9444 GB, free: 34.11 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01132/3.116, allocations: 2.275 MB / 0.9467 GB, free: 33.95 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0495/3.165, allocations: 5.822 MB / 0.9524 GB, free: 33.16 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03981/3.205, allocations: 11.69 MB / 0.9638 GB, free: 31.81 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001399/3.206, allocations: 1.032 MB / 0.9648 GB, free: 31.78 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006536/3.213, allocations: 1.355 MB / 0.9661 GB, free: 31.77 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07168/3.285, allocations: 22.01 MB / 0.9876 GB, free: 26.81 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008269/3.286, allocations: 15.25 kB / 0.9876 GB, free: 26.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005686/3.291, allocations: 0.5771 MB / 0.9882 GB, free: 26.37 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001466/3.293, allocations: 0.9789 MB / 0.9891 GB, free: 26.16 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06002/3.353, allocations: 19 MB / 1.008 GB, free: 13.38 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6011/3.954, allocations: 72.77 MB / 1.079 GB, free: 26.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05103/4.005, allocations: 42.07 MB / 1.12 GB, free: 24 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01234/4.017, allocations: 5.072 MB / 1.125 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03766/4.055, allocations: 12.76 MB / 1.137 GB, free: 22.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001023/4.055, allocations: 98.02 kB / 1.137 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=502): time 8.686e-06/4.055, allocations: 1.875 kB / 1.137 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=510): time 0.05237/4.108, allocations: 18.82 MB / 1.156 GB, free: 18.59 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.886e-05/4.108, allocations: 126.4 kB / 1.156 GB, free: 18.49 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01404/4.122, allocations: 5.016 MB / 1.161 GB, free: 18.04 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0012/4.123, allocations: 111.9 kB / 1.161 GB, free: 18.01 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005077/4.128, allocations: 6.131 MB / 1.167 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002654/4.131, allocations: 1.751 MB / 1.169 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001433/4.132, allocations: 149.5 kB / 1.169 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007739/4.133, allocations: 0.6026 MB / 1.169 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009277/4.142, allocations: 3.512 MB / 1.173 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01158/4.154, allocations: 6.254 MB / 1.179 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01169/4.166, allocations: 4.917 MB / 1.184 GB, free: 9.918 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001292/4.166, allocations: 28.19 kB / 1.184 GB, free: 9.918 MB / 0.5105 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.03535/4.201, allocations: 11.53 MB / 1.195 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.28e-05/4.201, allocations: 48.19 kB / 1.195 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001755/4.202, allocations: 90.34 kB / 1.195 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007618/4.209, allocations: 1.506 MB / 1.197 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01234/4.222, allocations: 1.647 MB / 1.198 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03544/4.257, allocations: 17.82 MB / 1.216 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009982/4.267, allocations: 427.2 kB / 1.216 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002129/4.269, allocations: 366 kB / 1.216 GB, free: 10.02 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 417 * 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 (860): * Single equations (assignments): 850 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * 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: 5 {(1,100.0%) 1,(12,52.8%) 64,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002874/4.272, allocations: 0.5786 MB / 1.217 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002163/4.274, allocations: 0.5945 MB / 1.217 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02917/4.304, allocations: 9.171 MB / 1.226 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01773/4.321, allocations: 5.757 MB / 1.232 GB, free: 1.742 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.891e-05/4.322, allocations: 20 kB / 1.232 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001526/4.322, allocations: 31.27 kB / 1.232 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4905/4.812, allocations: 21.38 MB / 1.253 GB, free: 91.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-05/4.812, allocations: 3.344 kB / 1.253 GB, free: 91.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00781/4.82, allocations: 0.8571 MB / 1.254 GB, free: 91.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008243/4.828, allocations: 1.534 MB / 1.255 GB, free: 91.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001335/4.83, allocations: 126.5 kB / 1.255 GB, free: 91.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03645/4.866, allocations: 21 MB / 1.276 GB, free: 82.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/4.866, allocations: 16.58 kB / 1.276 GB, free: 82.44 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03465/4.901, allocations: 14.29 MB / 1.29 GB, free: 80.22 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005569/4.907, allocations: 1.362 MB / 1.291 GB, free: 80.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002662/4.909, allocations: 102.8 kB / 1.291 GB, free: 80.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007324/4.917, allocations: 307.4 kB / 1.292 GB, free: 80.13 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002001/4.919, allocations: 406.8 kB / 1.292 GB, free: 80.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008026/4.919, allocations: 156.4 kB / 1.292 GB, free: 80.11 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01019/4.93, allocations: 3.755 MB / 1.296 GB, free: 79.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.01e-07/4.93, allocations: 3.75 kB / 1.296 GB, free: 79.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0145/4.944, allocations: 2.375 MB / 1.298 GB, free: 79.91 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (439): * Single equations (assignments): 428 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(12,52.1%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03739/4.982, allocations: 16.7 MB / 1.314 GB, free: 76 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02425/5.006, allocations: 9.389 MB / 1.324 GB, free: 75.01 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.57e-05/5.006, allocations: 1.812 kB / 1.324 GB, free: 75.01 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01448/5.021, allocations: 5.25 MB / 1.329 GB, free: 72.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01373/5.034, allocations: 1.486 MB / 1.33 GB, free: 72.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07786/5.112, allocations: 25.16 MB / 1.355 GB, free: 62.57 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0194/5.132, allocations: 9.095 MB / 1.364 GB, free: 58.88 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01327/5.145, allocations: 2.51 MB / 1.366 GB, free: 57.24 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01172/5.157, allocations: 5.137 MB / 1.371 GB, free: 52.45 MB / 0.5261 GB Notification: Performance of SimCode: time 1.553e-06/5.157, allocations: 0 / 1.371 GB, free: 52.45 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8263/5.983, allocations: 187.1 MB / 1.554 GB, free: 41.08 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002468/5.983, allocations: 233.4 kB / 1.554 GB, free: 40.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.889/15.87, allocations: 0 / 1.554 GB, free: 40.86 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat does not exist to compare? outputFormat=mat