Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.18/2.18, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.082e-05/3.085e-05, allocations: 4 kB / 292.3 MB, free: 8.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1251, allocations: 50.41 MB / 342.7 MB, free: 5.75 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5557/0.6808, allocations: 153 MB / 495.7 MB, free: 5.746 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003674/0.6813, allocations: 106.1 kB / 495.8 MB, free: 5.688 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.726/2.408, allocations: 356 MB / 0.8319 GB, free: 33.04 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.863e-06/2.408, allocations: 0 / 0.8319 GB, free: 33.04 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001008/2.409, allocations: 259.7 kB / 0.8322 GB, free: 32.79 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: 3019 * Number of variables: 3019 Notification: Performance of Generate backend data structure: time 0.04932/2.458, allocations: 10.38 MB / 0.8423 GB, free: 22.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/2.458, allocations: 8.031 kB / 0.8423 GB, free: 22.3 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007306/2.465, allocations: 1.539 MB / 0.8438 GB, free: 20.75 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04037/2.506, allocations: 4.754 MB / 0.8484 GB, free: 15.97 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03664/2.543, allocations: 9.559 MB / 0.8578 GB, free: 6.336 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001303/2.544, allocations: 0.7907 MB / 0.8586 GB, free: 5.543 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005525/2.549, allocations: 1.05 MB / 0.8596 GB, free: 4.492 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4396/2.989, allocations: 16.85 MB / 0.876 GB, free: 34.55 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000812/2.99, allocations: 17.33 kB / 0.8761 GB, free: 34.55 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004867/2.995, allocations: 462.5 kB / 0.8765 GB, free: 34.55 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001678/2.997, allocations: 0.7632 MB / 0.8772 GB, free: 34.52 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05045/3.047, allocations: 15.01 MB / 0.8919 GB, free: 34.48 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1388/3.186, allocations: 55.6 MB / 0.9462 GB, free: 17.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03868/3.225, allocations: 33.13 MB / 0.9785 GB, free: 4.332 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01143/3.236, allocations: 4.348 MB / 0.9828 GB, free: 2.637 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03791/3.274, allocations: 12.21 MB / 0.9947 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008483/3.283, allocations: 2.996 MB / 0.9976 GB, free: 11.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=432): time 1.089e-05/3.283, allocations: 3.75 kB / 0.9976 GB, free: 11.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=450): time 0.05691/3.34, allocations: 17.55 MB / 1.015 GB, free: 3.551 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002391/3.34, allocations: 412.8 kB / 1.015 GB, free: 3.105 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01088/3.351, allocations: 3.973 MB / 1.019 GB, free: 0.832 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001025/3.352, allocations: 97.7 kB / 1.019 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.008044/3.36, allocations: 4.827 MB / 1.024 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002784/3.363, allocations: 1.541 MB / 1.025 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008504/3.364, allocations: 123 kB / 1.025 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006167/3.364, allocations: 0.5459 MB / 1.026 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008032/3.372, allocations: 2.742 MB / 1.029 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0108/3.383, allocations: 4.869 MB / 1.033 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01131/3.395, allocations: 3.869 MB / 1.037 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.941e-05/3.395, allocations: 16 kB / 1.037 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=770) (initialization): time 0.03112/3.426, allocations: 9.225 MB / 1.046 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.787e-05/3.426, allocations: 32 kB / 1.046 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001446/3.426, allocations: 68 kB / 1.046 GB, free: 8.012 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007425/3.433, allocations: 1.496 MB / 1.048 GB, free: 6.836 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01065/3.444, allocations: 1.321 MB / 1.049 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.43/3.874, allocations: 16.3 MB / 1.065 GB, free: 86.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008205/3.883, allocations: 364.7 kB / 1.065 GB, free: 86.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001581/3.884, allocations: 285.9 kB / 1.066 GB, free: 86.45 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 297 * 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 (686): * Single equations (assignments): 680 * 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: 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%) 4,(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 4,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001617/3.886, allocations: 487.6 kB / 1.066 GB, free: 86.35 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001729/3.888, allocations: 0.4946 MB / 1.067 GB, free: 86.35 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02706/3.915, allocations: 7.837 MB / 1.074 GB, free: 85.86 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.458e-05/3.915, allocations: 46.25 kB / 1.074 GB, free: 85.86 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.354e-05/3.915, allocations: 16.59 kB / 1.074 GB, free: 85.86 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001358/3.915, allocations: 32.19 kB / 1.074 GB, free: 85.86 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05052/3.965, allocations: 17.5 MB / 1.091 GB, free: 84.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.162e-05/3.966, allocations: 6.031 kB / 1.091 GB, free: 84.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006734/3.972, allocations: 0.7463 MB / 1.092 GB, free: 84.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007203/3.98, allocations: 1.563 MB / 1.094 GB, free: 84.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009871/3.981, allocations: 109.3 kB / 1.094 GB, free: 84.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03263/4.013, allocations: 19.51 MB / 1.113 GB, free: 75.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/4.013, allocations: 8.188 kB / 1.113 GB, free: 75.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03012/4.043, allocations: 11.76 MB / 1.124 GB, free: 73.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004557/4.048, allocations: 1.162 MB / 1.125 GB, free: 73.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002301/4.05, allocations: 94.28 kB / 1.126 GB, free: 73.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006179/4.057, allocations: 247.9 kB / 1.126 GB, free: 73.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00164/4.058, allocations: 335.2 kB / 1.126 GB, free: 73.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009263/4.059, allocations: 136.7 kB / 1.126 GB, free: 73.71 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008343/4.068, allocations: 3.01 MB / 1.129 GB, free: 73.51 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.783e-06/4.068, allocations: 0 / 1.129 GB, free: 73.51 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01184/4.08, allocations: 1.949 MB / 1.131 GB, free: 73.51 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,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,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 (395): * Single equations (assignments): 386 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(14,41.8%) 44,(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 8,(1,100.0%) 3,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03442/4.114, allocations: 14.15 MB / 1.145 GB, free: 69.78 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02128/4.135, allocations: 7.703 MB / 1.152 GB, free: 66.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/4.135, allocations: 2.844 kB / 1.152 GB, free: 66.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01304/4.148, allocations: 4.444 MB / 1.157 GB, free: 64.44 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01029/4.159, allocations: 1.206 MB / 1.158 GB, free: 64.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06581/4.225, allocations: 19.75 MB / 1.177 GB, free: 56.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01508/4.24, allocations: 7.022 MB / 1.184 GB, free: 53.04 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01077/4.251, allocations: 1.856 MB / 1.186 GB, free: 51.81 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009858/4.26, allocations: 4.008 MB / 1.19 GB, free: 48.08 MB / 0.5105 GB Notification: Performance of SimCode: time 1.363e-06/4.261, allocations: 2.344 kB / 1.19 GB, free: 48.08 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7276/4.988, allocations: 154.2 MB / 1.34 GB, free: 70.46 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/4.988, allocations: 279.2 kB / 1.341 GB, free: 70.13 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.852/13.84, allocations: 4 kB / 1.341 GB, free: 70.12 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat does not exist to compare? outputFormat=mat