Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.975/1.975, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.729e-05/3.74e-05, allocations: 0 / 292.2 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1128, allocations: 50.41 MB / 342.7 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4978/0.6107, allocations: 108.5 MB / 451.1 MB, free: 1.707 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/0.611, allocations: 84.95 kB / 451.2 MB, free: 1.664 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2006/0.8116, allocations: 44.73 MB / 496 MB, free: 9.035 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.8117, allocations: 192 / 496 MB, free: 9.035 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002512/0.812, allocations: 63.86 kB / 496 MB, free: 8.973 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.008156/0.8201, allocations: 2.077 MB / 498.1 MB, free: 6.844 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.8202, allocations: 12.03 kB / 498.1 MB, free: 6.832 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001045/0.8213, allocations: 274.4 kB / 498.4 MB, free: 6.555 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/0.8229, allocations: 280.9 kB / 498.7 MB, free: 6.277 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005337/0.8283, allocations: 1.428 MB / 0.4884 GB, free: 4.793 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000232/0.8286, allocations: 143.7 kB / 0.4885 GB, free: 4.652 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007731/0.8294, allocations: 191.9 kB / 0.4887 GB, free: 4.465 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007201/0.8366, allocations: 2.336 MB / 0.491 GB, free: 2.055 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.283e-05/0.8367, allocations: 3.906 kB / 0.491 GB, free: 2.051 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003217/0.8371, allocations: 83.98 kB / 0.491 GB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001509/0.8372, allocations: 87.67 kB / 0.4911 GB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005831/0.8431, allocations: 1.811 MB / 0.4929 GB, free: 72 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02664/0.8698, allocations: 7.445 MB / 0.5002 GB, free: 8.426 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004217/0.8741, allocations: 1.337 MB / 0.5015 GB, free: 7.027 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002733/0.8768, allocations: 0.7262 MB / 0.5022 GB, free: 6.305 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005397/0.8774, allocations: 130.1 kB / 0.5023 GB, free: 6.156 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002348/0.8798, allocations: 0.6731 MB / 0.503 GB, free: 5.457 MB / 426.7 MB Notification: Performance of pre-optimization done (n=102): time 5.51e-06/0.8798, allocations: 0 / 0.503 GB, free: 5.457 MB / 426.7 MB Notification: Performance of matching and sorting (n=131): time 0.04107/0.9209, allocations: 7.39 MB / 0.5102 GB, free: 13.97 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/0.9211, allocations: 167.5 kB / 0.5103 GB, free: 13.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00416/0.9253, allocations: 1.222 MB / 0.5115 GB, free: 12.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000385/0.9257, allocations: 45.7 kB / 0.5116 GB, free: 12.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001292/0.927, allocations: 0.9249 MB / 0.5125 GB, free: 11.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007503/0.9278, allocations: 457.5 kB / 0.5129 GB, free: 11.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.9279, allocations: 32 kB / 0.513 GB, free: 11.06 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002521/0.9282, allocations: 357.9 kB / 0.5133 GB, free: 10.71 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002072/0.9303, allocations: 0.6677 MB / 0.5139 GB, free: 10.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002397/0.9327, allocations: 1.02 MB / 0.5149 GB, free: 8.875 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002242/0.935, allocations: 0.8325 MB / 0.5158 GB, free: 8.039 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.9351, allocations: 0 / 0.5158 GB, free: 8.039 MB / 442.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.007522/0.9426, allocations: 2.458 MB / 0.5182 GB, free: 5.559 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.617e-05/0.9427, allocations: 8 kB / 0.5182 GB, free: 5.551 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/0.9427, allocations: 8 kB / 0.5182 GB, free: 5.543 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003032/0.9457, allocations: 0.6583 MB / 0.5188 GB, free: 4.875 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002414/0.9482, allocations: 307.5 kB / 0.5191 GB, free: 4.574 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3034/1.252, allocations: 6.452 MB / 0.5254 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/1.254, allocations: 105.7 kB / 0.5255 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002391/1.254, allocations: 57.61 kB / 0.5256 GB, free: 114.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (150): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(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: 2 {(5,76.0%) 23,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003929/1.255, allocations: 190.1 kB / 0.5257 GB, free: 114.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004594/1.255, allocations: 160.5 kB / 0.5259 GB, free: 114.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007037/1.262, allocations: 2.352 MB / 0.5282 GB, free: 114.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/1.262, allocations: 12.59 kB / 0.5282 GB, free: 114.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-05/1.262, allocations: 9.812 kB / 0.5282 GB, free: 114.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.736e-05/1.262, allocations: 7.5 kB / 0.5282 GB, free: 114.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01434/1.277, allocations: 4.789 MB / 0.5329 GB, free: 114 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.149e-05/1.277, allocations: 6.219 kB / 0.5329 GB, free: 114 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001687/1.278, allocations: 186.5 kB / 0.5331 GB, free: 114 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003646/1.282, allocations: 0.7193 MB / 0.5338 GB, free: 114 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002912/1.282, allocations: 40.61 kB / 0.5338 GB, free: 114 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01394/1.296, allocations: 8.126 MB / 0.5418 GB, free: 110.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.296, allocations: 3.156 kB / 0.5418 GB, free: 110.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00867/1.305, allocations: 3.438 MB / 0.5451 GB, free: 109.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/1.307, allocations: 400.3 kB / 0.5455 GB, free: 109.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005839/1.307, allocations: 34.19 kB / 0.5455 GB, free: 109.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001849/1.309, allocations: 84.67 kB / 0.5456 GB, free: 109.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004617/1.31, allocations: 97.27 kB / 0.5457 GB, free: 109.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/1.31, allocations: 43.08 kB / 0.5457 GB, free: 109.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002285/1.312, allocations: 0.9359 MB / 0.5467 GB, free: 109.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.312, allocations: 6.172 kB / 0.5467 GB, free: 109.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002788/1.315, allocations: 0.5188 MB / 0.5472 GB, free: 109.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(5,76.0%) 23,(1,100.0%) 3,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01355/1.329, allocations: 5.098 MB / 0.5522 GB, free: 107.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008207/1.337, allocations: 2.281 MB / 0.5544 GB, free: 106.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/1.337, allocations: 3.906 kB / 0.5544 GB, free: 106.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005461/1.342, allocations: 1.552 MB / 0.5559 GB, free: 105.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004069/1.346, allocations: 379.8 kB / 0.5563 GB, free: 105.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01522/1.362, allocations: 4.041 MB / 0.5602 GB, free: 103.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002486/1.364, allocations: 1.756 MB / 0.5619 GB, free: 103 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002456/1.367, allocations: 320.7 kB / 0.5622 GB, free: 102.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00217/1.369, allocations: 0.7803 MB / 0.563 GB, free: 102.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.593e-06/1.369, allocations: 0 / 0.563 GB, free: 102.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1548/1.524, allocations: 43.77 MB / 0.6057 GB, free: 81.41 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/1.524, allocations: 239 kB / 0.606 GB, free: 81.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.073/5.598, allocations: 0 / 0.606 GB, free: 81.1 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat does not exist to compare? outputFormat=mat