Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadModel(Modelica): time 2.014/2.014, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.936e-05/2.943e-05, allocations: 4 kB / 292.2 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08819/0.08825, allocations: 50.42 MB / 342.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3986/0.4869, allocations: 114.7 MB / 457.3 MB, free: 12.08 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/0.4872, allocations: 95.06 kB / 457.4 MB, free: 12.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5518/1.039, allocations: 83.97 MB / 0.5286 GB, free: 93.61 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.866e-06/1.039, allocations: 4.844 kB / 0.5286 GB, free: 93.61 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002477/1.039, allocations: 78.91 kB / 0.5287 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.009825/1.049, allocations: 3.309 MB / 0.5319 GB, free: 92.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/1.049, allocations: 8.844 kB / 0.532 GB, free: 92.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005829/1.055, allocations: 0.7403 MB / 0.5327 GB, free: 92.29 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01348/1.069, allocations: 3.373 MB / 0.536 GB, free: 91.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000246/1.069, allocations: 244.5 kB / 0.5362 GB, free: 91.76 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007982/1.07, allocations: 321.8 kB / 0.5365 GB, free: 91.76 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01439/1.084, allocations: 4.084 MB / 0.5405 GB, free: 91.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/1.084, allocations: 4.781 kB / 0.5405 GB, free: 91.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004769/1.085, allocations: 137.6 kB / 0.5406 GB, free: 91.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001842/1.085, allocations: 147.3 kB / 0.5408 GB, free: 91.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008255/1.093, allocations: 3.293 MB / 0.544 GB, free: 91.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02561/1.119, allocations: 13.48 MB / 0.5572 GB, free: 88.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006534/1.126, allocations: 6.843 MB / 0.5638 GB, free: 83.62 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002445/1.128, allocations: 1.349 MB / 0.5652 GB, free: 83.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007647/1.136, allocations: 3.858 MB / 0.5689 GB, free: 81.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001463/1.137, allocations: 0.8142 MB / 0.5697 GB, free: 80.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=130): time 4.947e-06/1.137, allocations: 0 / 0.5697 GB, free: 80.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=138): time 0.01046/1.148, allocations: 5.07 MB / 0.5747 GB, free: 78.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/1.148, allocations: 226.5 kB / 0.5749 GB, free: 77.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003151/1.151, allocations: 1.652 MB / 0.5765 GB, free: 77.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002278/1.151, allocations: 45.64 kB / 0.5765 GB, free: 77.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001298/1.152, allocations: 1.485 MB / 0.578 GB, free: 76.13 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004689/1.153, allocations: 482.5 kB / 0.5785 GB, free: 75.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/1.153, allocations: 38.09 kB / 0.5785 GB, free: 75.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/1.153, allocations: 365.1 kB / 0.5788 GB, free: 75.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/1.154, allocations: 0.6303 MB / 0.5795 GB, free: 75.15 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/1.156, allocations: 1.155 MB / 0.5806 GB, free: 74.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/1.158, allocations: 0.8544 MB / 0.5814 GB, free: 73.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/1.158, allocations: 3.344 kB / 0.5814 GB, free: 73.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=217) (initialization): time 0.004881/1.163, allocations: 2.314 MB / 0.5837 GB, free: 72.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/1.163, allocations: 10.47 kB / 0.5837 GB, free: 72.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/1.163, allocations: 14.62 kB / 0.5837 GB, free: 72.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/1.164, allocations: 288.5 kB / 0.584 GB, free: 72.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/1.166, allocations: 382.6 kB / 0.5843 GB, free: 72.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006036/1.172, allocations: 5.825 MB / 0.59 GB, free: 67.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/1.174, allocations: 92.5 kB / 0.5901 GB, free: 67.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002471/1.174, allocations: 74.12 kB / 0.5902 GB, free: 67.84 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.0003778/1.175, allocations: 217.7 kB / 0.5904 GB, free: 67.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003784/1.175, allocations: 204.1 kB / 0.5906 GB, free: 67.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004861/1.18, allocations: 2.198 MB / 0.5927 GB, free: 66.51 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/1.18, allocations: 15.03 kB / 0.5928 GB, free: 66.51 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/1.18, allocations: 7.5 kB / 0.5928 GB, free: 66.51 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-05/1.18, allocations: 7.547 kB / 0.5928 GB, free: 66.51 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/1.191, allocations: 5.122 MB / 0.5978 GB, free: 64.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/1.191, allocations: 0 / 0.5978 GB, free: 64.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/1.192, allocations: 182.6 kB / 0.5979 GB, free: 64.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001637/1.194, allocations: 466.3 kB / 0.5984 GB, free: 63.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001871/1.194, allocations: 43.34 kB / 0.5984 GB, free: 63.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01132/1.205, allocations: 10.14 MB / 0.6083 GB, free: 55.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.205, allocations: 1.5 kB / 0.6083 GB, free: 55.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006209/1.211, allocations: 3.098 MB / 0.6114 GB, free: 53.83 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/1.213, allocations: 450 kB / 0.6118 GB, free: 53.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004603/1.213, allocations: 39.2 kB / 0.6118 GB, free: 53.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/1.215, allocations: 64.06 kB / 0.6119 GB, free: 53.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/1.215, allocations: 106.2 kB / 0.612 GB, free: 53.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/1.215, allocations: 39.38 kB / 0.612 GB, free: 53.45 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002291/1.217, allocations: 1.259 MB / 0.6133 GB, free: 52.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.79e-07/1.217, allocations: 0 / 0.6133 GB, free: 52.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003068/1.221, allocations: 0.6288 MB / 0.6139 GB, free: 52.87 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.001951/1.222, allocations: 0.7119 MB / 0.6146 GB, free: 52.64 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004019/1.227, allocations: 2.047 MB / 0.6166 GB, free: 51.63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.419e-06/1.227, allocations: 6.562 kB / 0.6166 GB, free: 51.63 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002753/1.229, allocations: 1.483 MB / 0.618 GB, free: 50.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003144/1.233, allocations: 498.6 kB / 0.6185 GB, free: 50.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01673/1.249, allocations: 4.645 MB / 0.623 GB, free: 48.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005521/1.255, allocations: 2.415 MB / 0.6254 GB, free: 47.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004657/1.26, allocations: 410.2 kB / 0.6258 GB, free: 47.06 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/1.261, allocations: 134.8 kB / 0.6259 GB, free: 46.94 MB / 442.7 MB Notification: Performance of SimCode: time 3.074e-06/1.261, allocations: 0 / 0.6259 GB, free: 46.94 MB / 442.7 MB Notification: Performance of Templates: time 0.1143/1.375, allocations: 30.95 MB / 0.6561 GB, free: 27.15 MB / 442.7 MB