Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.946/1.946, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.137e-05/4.149e-05, allocations: 4 kB / 292.3 MB, free: 8.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1407, allocations: 50.4 MB / 342.7 MB, free: 5.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4907/0.6315, allocations: 114.7 MB / 457.3 MB, free: 12.06 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/0.6319, allocations: 93.27 kB / 457.4 MB, free: 12.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.623/1.255, allocations: 83.98 MB / 0.5287 GB, free: 93.61 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.547e-06/1.255, allocations: 1.375 kB / 0.5287 GB, free: 93.61 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003973/1.255, allocations: 78.17 kB / 0.5288 GB, free: 93.6 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01532/1.271, allocations: 3.317 MB / 0.532 GB, free: 92.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/1.271, allocations: 12.59 kB / 0.5321 GB, free: 92.48 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002201/1.273, allocations: 454.9 kB / 0.5325 GB, free: 92.42 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006881/1.28, allocations: 0.7365 MB / 0.5332 GB, free: 92.23 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01333/1.293, allocations: 3.37 MB / 0.5365 GB, free: 91.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003991/1.294, allocations: 241.6 kB / 0.5367 GB, free: 91.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001495/1.295, allocations: 330.1 kB / 0.537 GB, free: 91.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01417/1.309, allocations: 4.089 MB / 0.541 GB, free: 91.35 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001594/1.31, allocations: 1.25 kB / 0.541 GB, free: 91.35 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009126/1.311, allocations: 137.7 kB / 0.5412 GB, free: 91.35 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002209/1.311, allocations: 145.5 kB / 0.5413 GB, free: 91.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01139/1.322, allocations: 3.297 MB / 0.5445 GB, free: 91.32 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03327/1.356, allocations: 13.49 MB / 0.5577 GB, free: 88.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009173/1.365, allocations: 6.838 MB / 0.5644 GB, free: 83.55 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003401/1.368, allocations: 1.355 MB / 0.5657 GB, free: 83.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01028/1.379, allocations: 3.849 MB / 0.5695 GB, free: 80.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001847/1.381, allocations: 0.8147 MB / 0.5702 GB, free: 80.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=130): time 4.589e-06/1.381, allocations: 2.625 kB / 0.5703 GB, free: 80.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=138): time 0.01352/1.394, allocations: 5.067 MB / 0.5752 GB, free: 77.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.258e-05/1.394, allocations: 224.3 kB / 0.5754 GB, free: 77.63 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003794/1.398, allocations: 1.656 MB / 0.577 GB, free: 76.97 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003203/1.398, allocations: 44.89 kB / 0.5771 GB, free: 76.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001556/1.4, allocations: 1.48 MB / 0.5785 GB, free: 75.81 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006759/1.401, allocations: 485.5 kB / 0.579 GB, free: 75.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/1.401, allocations: 31.47 kB / 0.579 GB, free: 75.42 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/1.401, allocations: 369.6 kB / 0.5794 GB, free: 75.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/1.403, allocations: 0.6283 MB / 0.58 GB, free: 74.83 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002096/1.405, allocations: 1.162 MB / 0.5811 GB, free: 73.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/1.407, allocations: 0.8553 MB / 0.5819 GB, free: 73.58 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/1.407, allocations: 3.344 kB / 0.5819 GB, free: 73.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=217) (initialization): time 0.00544/1.412, allocations: 2.308 MB / 0.5842 GB, free: 72.63 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/1.412, allocations: 11 kB / 0.5842 GB, free: 72.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.943e-05/1.412, allocations: 17.78 kB / 0.5842 GB, free: 72.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/1.413, allocations: 287.9 kB / 0.5845 GB, free: 72.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002712/1.416, allocations: 380 kB / 0.5849 GB, free: 72.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006566/1.423, allocations: 5.826 MB / 0.5906 GB, free: 67.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002604/1.425, allocations: 88.91 kB / 0.5906 GB, free: 67.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002589/1.426, allocations: 71.78 kB / 0.5907 GB, free: 67.53 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 190 * 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: 3 * 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: 3 {(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004187/1.426, allocations: 224.7 kB / 0.5909 GB, free: 67.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004681/1.427, allocations: 197.5 kB / 0.5911 GB, free: 67.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005445/1.432, allocations: 2.206 MB / 0.5933 GB, free: 66.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/1.432, allocations: 11.03 kB / 0.5933 GB, free: 66.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/1.432, allocations: 7.375 kB / 0.5933 GB, free: 66.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.833e-05/1.432, allocations: 13.7 kB / 0.5933 GB, free: 66.19 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0118/1.444, allocations: 5.127 MB / 0.5983 GB, free: 63.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/1.444, allocations: 0 / 0.5983 GB, free: 63.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/1.446, allocations: 183.7 kB / 0.5985 GB, free: 63.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001931/1.448, allocations: 453.3 kB / 0.5989 GB, free: 63.63 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002139/1.448, allocations: 48 kB / 0.599 GB, free: 63.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01182/1.46, allocations: 10.14 MB / 0.6089 GB, free: 55.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.46, allocations: 0 / 0.6089 GB, free: 55.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007245/1.467, allocations: 3.094 MB / 0.6119 GB, free: 53.51 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001503/1.469, allocations: 440.1 kB / 0.6123 GB, free: 53.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005543/1.469, allocations: 38.8 kB / 0.6123 GB, free: 53.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001734/1.471, allocations: 71.47 kB / 0.6124 GB, free: 53.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000327/1.471, allocations: 101.5 kB / 0.6125 GB, free: 53.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/1.471, allocations: 37.25 kB / 0.6125 GB, free: 53.14 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00299/1.474, allocations: 1.259 MB / 0.6138 GB, free: 52.63 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.21e-07/1.474, allocations: 0 / 0.6138 GB, free: 52.63 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003722/1.478, allocations: 0.6328 MB / 0.6144 GB, free: 52.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 3,(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.009342/1.488, allocations: 4.467 MB / 0.6187 GB, free: 50.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004969/1.493, allocations: 2.048 MB / 0.6207 GB, free: 49.11 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/1.493, allocations: 3.469 kB / 0.6207 GB, free: 49.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00331/1.496, allocations: 1.476 MB / 0.6222 GB, free: 48.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004064/1.5, allocations: 0.4967 MB / 0.6227 GB, free: 48.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/1.516, allocations: 5.492 MB / 0.628 GB, free: 44.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002715/1.519, allocations: 2.415 MB / 0.6304 GB, free: 42.71 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002471/1.521, allocations: 408.8 kB / 0.6308 GB, free: 42.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002468/1.524, allocations: 1.172 MB / 0.6319 GB, free: 41.34 MB / 442.7 MB Notification: Performance of SimCode: time 1.022e-06/1.524, allocations: 0 / 0.6319 GB, free: 41.34 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1552/1.679, allocations: 54.16 MB / 0.6848 GB, free: 13.89 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003744/1.679, allocations: 271.5 kB / 0.6851 GB, free: 13.54 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.423/6.103, allocations: 0 / 0.6851 GB, free: 13.54 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat does not exist to compare? outputFormat=mat