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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadModel(Modelica): time 1.864/1.864, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.575e-05/2.58e-05, allocations: 4 kB / 292.7 MB, free: 8.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08993/0.08998, allocations: 50.42 MB / 343.1 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.398/0.488, allocations: 114.7 MB / 457.8 MB, free: 12.01 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.4883, allocations: 95.94 kB / 457.9 MB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5418/1.03, allocations: 83.98 MB / 0.5292 GB, free: 93.67 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.638e-06/1.03, allocations: 1.281 kB / 0.5292 GB, free: 93.67 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003041/1.03, allocations: 81.11 kB / 0.5292 GB, free: 93.66 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.01223/1.043, allocations: 3.307 MB / 0.5325 GB, free: 92.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/1.043, allocations: 10.3 kB / 0.5325 GB, free: 92.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005557/1.048, allocations: 0.7395 MB / 0.5332 GB, free: 92.35 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01072/1.059, allocations: 3.375 MB / 0.5365 GB, free: 91.83 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002501/1.059, allocations: 244.3 kB / 0.5367 GB, free: 91.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008032/1.06, allocations: 324.7 kB / 0.537 GB, free: 91.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009008/1.069, allocations: 4.085 MB / 0.541 GB, free: 91.47 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.76e-05/1.069, allocations: 1.312 kB / 0.541 GB, free: 91.47 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004702/1.07, allocations: 138 kB / 0.5412 GB, free: 91.47 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001858/1.07, allocations: 148.8 kB / 0.5413 GB, free: 91.46 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007486/1.078, allocations: 3.295 MB / 0.5445 GB, free: 91.45 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02563/1.103, allocations: 13.48 MB / 0.5577 GB, free: 88.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007276/1.11, allocations: 6.843 MB / 0.5644 GB, free: 83.68 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002665/1.113, allocations: 1.349 MB / 0.5657 GB, free: 83.54 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008042/1.121, allocations: 3.856 MB / 0.5695 GB, free: 81.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001537/1.123, allocations: 0.8067 MB / 0.5702 GB, free: 81.03 MB / 442.7 MB Notification: Performance of pre-optimization done (n=130): time 5.528e-06/1.123, allocations: 3.344 kB / 0.5702 GB, free: 81.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=138): time 0.01097/1.134, allocations: 5.071 MB / 0.5752 GB, free: 78.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/1.134, allocations: 225 kB / 0.5754 GB, free: 78.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003046/1.137, allocations: 1.652 MB / 0.577 GB, free: 77.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001415/1.137, allocations: 48.64 kB / 0.5771 GB, free: 77.37 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001276/1.138, allocations: 1.48 MB / 0.5785 GB, free: 76.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003957/1.139, allocations: 480.2 kB / 0.579 GB, free: 75.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/1.139, allocations: 41.62 kB / 0.579 GB, free: 75.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/1.139, allocations: 368.3 kB / 0.5794 GB, free: 75.53 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/1.14, allocations: 0.6285 MB / 0.58 GB, free: 75.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/1.142, allocations: 1.16 MB / 0.5811 GB, free: 74.37 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/1.144, allocations: 0.8517 MB / 0.5819 GB, free: 74.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/1.144, allocations: 3.562 kB / 0.5819 GB, free: 74.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=217) (initialization): time 0.004897/1.149, allocations: 2.312 MB / 0.5842 GB, free: 73.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/1.149, allocations: 12.81 kB / 0.5842 GB, free: 73.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/1.149, allocations: 14 kB / 0.5842 GB, free: 73.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009178/1.15, allocations: 291 kB / 0.5845 GB, free: 72.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/1.152, allocations: 374 kB / 0.5849 GB, free: 72.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006113/1.158, allocations: 5.835 MB / 0.5906 GB, free: 68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/1.16, allocations: 93.7 kB / 0.5907 GB, free: 67.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001788/1.16, allocations: 72.12 kB / 0.5907 GB, free: 67.96 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.0003648/1.161, allocations: 212.9 kB / 0.5909 GB, free: 67.79 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003239/1.161, allocations: 204 kB / 0.5911 GB, free: 67.69 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004803/1.166, allocations: 2.206 MB / 0.5933 GB, free: 66.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/1.166, allocations: 13.84 kB / 0.5933 GB, free: 66.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/1.166, allocations: 7.625 kB / 0.5933 GB, free: 66.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/1.166, allocations: 7.688 kB / 0.5933 GB, free: 66.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/1.177, allocations: 5.113 MB / 0.5983 GB, free: 64.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.602e-06/1.177, allocations: 3.875 kB / 0.5983 GB, free: 64.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/1.178, allocations: 181.1 kB / 0.5985 GB, free: 64.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001604/1.179, allocations: 466.5 kB / 0.5989 GB, free: 64.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001306/1.18, allocations: 41.81 kB / 0.599 GB, free: 64.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01118/1.191, allocations: 10.14 MB / 0.6089 GB, free: 55.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.622e-06/1.191, allocations: 0 / 0.6089 GB, free: 55.52 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006712/1.198, allocations: 3.099 MB / 0.6119 GB, free: 53.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/1.199, allocations: 440.9 kB / 0.6123 GB, free: 53.64 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003524/1.199, allocations: 46.08 kB / 0.6123 GB, free: 53.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001789/1.201, allocations: 67.28 kB / 0.6124 GB, free: 53.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005453/1.201, allocations: 108.7 kB / 0.6125 GB, free: 53.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002651/1.202, allocations: 37.88 kB / 0.6125 GB, free: 53.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004722/1.206, allocations: 1.259 MB / 0.6138 GB, free: 53.06 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.569e-06/1.207, allocations: 0 / 0.6138 GB, free: 53.06 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005335/1.212, allocations: 0.6238 MB / 0.6144 GB, free: 52.99 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.003242/1.215, allocations: 0.7114 MB / 0.6151 GB, free: 52.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006982/1.222, allocations: 2.054 MB / 0.6171 GB, free: 51.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.192e-06/1.222, allocations: 384 / 0.6171 GB, free: 51.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004705/1.227, allocations: 1.484 MB / 0.6185 GB, free: 50.83 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004966/1.232, allocations: 0.4957 MB / 0.619 GB, free: 50.69 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/1.25, allocations: 4.643 MB / 0.6236 GB, free: 48.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004684/1.255, allocations: 2.418 MB / 0.6259 GB, free: 47.45 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003739/1.258, allocations: 407.5 kB / 0.6263 GB, free: 47.17 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000922/1.259, allocations: 130.5 kB / 0.6264 GB, free: 47.05 MB / 442.7 MB Notification: Performance of SimCode: time 2.393e-06/1.259, allocations: 0 / 0.6264 GB, free: 47.05 MB / 442.7 MB Notification: Performance of Templates: time 0.08813/1.348, allocations: 30.95 MB / 0.6566 GB, free: 27.17 MB / 442.7 MB