Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.019/2.019, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.211e-05/3.217e-05, allocations: 4 kB / 269.5 MB, free: 6.266 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1016, allocations: 47.57 MB / 317 MB, free: 6.613 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5274/0.6291, allocations: 151.3 MB / 468.4 MB, free: 1.613 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003902/0.6295, allocations: 101 kB / 468.5 MB, free: 1.559 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.676/2.305, allocations: 357.2 MB / 0.8063 GB, free: 25.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.354e-06/2.305, allocations: 0 / 0.8063 GB, free: 25.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008811/2.306, allocations: 255.8 kB / 0.8065 GB, free: 25.02 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3076 * Number of variables: 3076 Notification: Performance of Generate backend data structure: time 0.04709/2.353, allocations: 10.47 MB / 0.8168 GB, free: 14.44 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/2.353, allocations: 11.78 kB / 0.8168 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007274/2.361, allocations: 1.56 MB / 0.8183 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04484/2.405, allocations: 5.402 MB / 0.8236 GB, free: 7.441 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03177/2.437, allocations: 9.462 MB / 0.8328 GB, free: 13.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001551/2.439, allocations: 0.8144 MB / 0.8336 GB, free: 13.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005901/2.445, allocations: 1.07 MB / 0.8346 GB, free: 12.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.762/3.207, allocations: 17.78 MB / 0.852 GB, free: 34.12 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006928/3.208, allocations: 17.7 kB / 0.852 GB, free: 34.12 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00435/3.212, allocations: 462.4 kB / 0.8525 GB, free: 34.12 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001249/3.213, allocations: 0.7427 MB / 0.8532 GB, free: 34.09 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04984/3.263, allocations: 16.41 MB / 0.8692 GB, free: 34.05 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1407/3.404, allocations: 58.08 MB / 0.9259 GB, free: 19.46 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03573/3.44, allocations: 25.95 MB / 0.9513 GB, free: 15.7 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01768/3.457, allocations: 7.068 MB / 0.9582 GB, free: 12.68 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0666/3.524, allocations: 22.36 MB / 0.98 GB, free: 1.582 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01558/3.54, allocations: 5.468 MB / 0.9854 GB, free: 15.62 MB / 474.8 MB Notification: Performance of pre-optimization done (n=696): time 1.437e-05/3.54, allocations: 0 / 0.9854 GB, free: 15.62 MB / 474.8 MB Notification: Performance of matching and sorting (n=714): time 0.09108/3.631, allocations: 28.94 MB / 1.014 GB, free: 9.234 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003285/3.631, allocations: 426 kB / 1.014 GB, free: 8.73 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009526/3.641, allocations: 3.469 MB / 1.017 GB, free: 5.574 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001686/3.642, allocations: 131.6 kB / 1.018 GB, free: 5.441 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006481/3.649, allocations: 4.311 MB / 1.022 GB, free: 1.613 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.3758/4.025, allocations: 2.383 MB / 1.024 GB, free: 84.98 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001719/4.027, allocations: 133.1 kB / 1.024 GB, free: 84.98 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0009488/4.028, allocations: 0.6013 MB / 1.025 GB, free: 84.67 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01245/4.04, allocations: 4.374 MB / 1.029 GB, free: 84.65 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01478/4.055, allocations: 6.046 MB / 1.035 GB, free: 82.89 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01562/4.071, allocations: 5.412 MB / 1.04 GB, free: 82.79 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000105/4.071, allocations: 14.5 kB / 1.04 GB, free: 82.79 MB / 490.8 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.03913/4.11, allocations: 13.24 MB / 1.053 GB, free: 82.4 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.985e-05/4.11, allocations: 26.47 kB / 1.053 GB, free: 82.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001062/4.11, allocations: 46.72 kB / 1.053 GB, free: 82.4 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01315/4.123, allocations: 3.855 MB / 1.057 GB, free: 82.29 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01058/4.134, allocations: 1.295 MB / 1.058 GB, free: 82.29 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02365/4.158, allocations: 16.62 MB / 1.075 GB, free: 74.55 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008856/4.166, allocations: 380.5 kB / 1.075 GB, free: 74.55 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00221/4.169, allocations: 299.6 kB / 1.075 GB, free: 74.55 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 202 * 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 (684): * Single equations (assignments): 643 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 9 * 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: 4 {(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 4} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,14 74} Notification: Performance of prepare postOptimizeDAE: time 0.00294/4.172, allocations: 496.9 kB / 1.076 GB, free: 74.45 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002227/4.174, allocations: 0.5363 MB / 1.076 GB, free: 74.45 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04015/4.214, allocations: 13.31 MB / 1.089 GB, free: 73.84 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002966/4.214, allocations: 160.9 kB / 1.089 GB, free: 73.84 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.742e-05/4.215, allocations: 13.75 kB / 1.089 GB, free: 73.84 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002123/4.215, allocations: 28.64 kB / 1.089 GB, free: 73.84 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07211/4.287, allocations: 26.76 MB / 1.115 GB, free: 64.13 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-05/4.287, allocations: 2.094 kB / 1.115 GB, free: 64.13 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008103/4.295, allocations: 0.876 MB / 1.116 GB, free: 64.1 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0138/4.309, allocations: 3.925 MB / 1.12 GB, free: 62.94 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001611/4.311, allocations: 163.8 kB / 1.12 GB, free: 62.84 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02728/4.338, allocations: 20.78 MB / 1.141 GB, free: 47.48 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/4.338, allocations: 6.344 kB / 1.141 GB, free: 47.48 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04556/4.384, allocations: 19.72 MB / 1.16 GB, free: 31.58 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005883/4.39, allocations: 1.646 MB / 1.162 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002777/4.392, allocations: 118.8 kB / 1.162 GB, free: 29.98 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007284/4.4, allocations: 295.9 kB / 1.162 GB, free: 29.76 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002492/4.402, allocations: 0.5166 MB / 1.162 GB, free: 29.43 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001334/4.404, allocations: 195.2 kB / 1.163 GB, free: 29.26 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.00641/4.41, allocations: 2.644 MB / 1.165 GB, free: 26.86 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.162e-06/4.41, allocations: 0 / 1.165 GB, free: 26.86 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01173/4.422, allocations: 2.017 MB / 1.167 GB, free: 24.86 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (476): * Single equations (assignments): 432 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,14 74} Notification: Performance of Backend phase and start with SimCode phase: time 0.05303/4.475, allocations: 21.49 MB / 1.188 GB, free: 5.66 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.4119/4.887, allocations: 12.48 MB / 1.2 GB, free: 86.24 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/4.887, allocations: 1.344 kB / 1.2 GB, free: 86.24 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01949/4.906, allocations: 6.536 MB / 1.207 GB, free: 85.42 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01152/4.918, allocations: 1.197 MB / 1.208 GB, free: 85.4 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07578/4.994, allocations: 23.02 MB / 1.23 GB, free: 82.04 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0159/5.01, allocations: 7.184 MB / 1.237 GB, free: 81 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.01139/5.021, allocations: 1.652 MB / 1.239 GB, free: 80.82 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01034/5.032, allocations: 4.097 MB / 1.243 GB, free: 80.81 MB / 490.8 MB Notification: Performance of SimCode: time 1.462e-06/5.032, allocations: 0 / 1.243 GB, free: 80.81 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7709/5.803, allocations: 192 MB / 1.43 GB, free: 64.6 MB / 490.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002758/5.803, allocations: 276.5 kB / 1.431 GB, free: 64.27 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.478/15.28, allocations: 0 / 1.431 GB, free: 64.27 MB / 490.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat does not exist to compare? outputFormat=mat