Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|mass.s|mass.v|massQS.s|massQS.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadModel(Modelica): time 1.942/1.942, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.21e-05/3.229e-05, allocations: 4 kB / 269.4 MB, free: 6.367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08563/0.08568, allocations: 47.57 MB / 317 MB, free: 6.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4459/0.5317, allocations: 151.3 MB / 468.3 MB, free: 1.715 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/0.532, allocations: 98.38 kB / 468.4 MB, free: 1.664 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.547/2.079, allocations: 357.2 MB / 0.8062 GB, free: 25.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.342e-06/2.079, allocations: 0 / 0.8062 GB, free: 25.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008177/2.08, allocations: 259.7 kB / 0.8065 GB, free: 25.03 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.041/2.121, allocations: 10.47 MB / 0.8167 GB, free: 14.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/2.121, allocations: 11.97 kB / 0.8167 GB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03995/2.161, allocations: 5.398 MB / 0.822 GB, free: 9.039 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02665/2.188, allocations: 9.452 MB / 0.8312 GB, free: 15.51 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00134/2.189, allocations: 0.8105 MB / 0.832 GB, free: 14.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004835/2.194, allocations: 1.066 MB / 0.833 GB, free: 13.63 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3473/2.542, allocations: 17.79 MB / 0.8504 GB, free: 36.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005463/2.542, allocations: 18.7 kB / 0.8504 GB, free: 36.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004029/2.546, allocations: 464.1 kB / 0.8509 GB, free: 36.09 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00107/2.547, allocations: 0.7429 MB / 0.8516 GB, free: 36.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0613/2.609, allocations: 16.42 MB / 0.8676 GB, free: 36.02 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1793/2.788, allocations: 58.07 MB / 0.9243 GB, free: 21.76 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03061/2.819, allocations: 25.95 MB / 0.9497 GB, free: 18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01409/2.833, allocations: 7.064 MB / 0.9566 GB, free: 14.99 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05447/2.887, allocations: 22.37 MB / 0.9784 GB, free: 3.895 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01233/2.9, allocations: 5.379 MB / 0.9837 GB, free: 1.586 MB / 458.7 MB Notification: Performance of pre-optimization done (n=696): time 1.333e-05/2.9, allocations: 0 / 0.9837 GB, free: 1.586 MB / 458.7 MB Notification: Performance of matching and sorting (n=714): time 0.08303/2.983, allocations: 29.2 MB / 1.012 GB, free: 13.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003058/2.983, allocations: 435.4 kB / 1.013 GB, free: 12.99 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008011/2.991, allocations: 3.469 MB / 1.016 GB, free: 9.836 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001328/2.992, allocations: 125.7 kB / 1.016 GB, free: 9.707 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005683/2.998, allocations: 4.315 MB / 1.02 GB, free: 5.875 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00388/3.002, allocations: 2.388 MB / 1.023 GB, free: 3.719 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007465/3.003, allocations: 134.8 kB / 1.023 GB, free: 3.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007261/3.004, allocations: 0.6014 MB / 1.023 GB, free: 3.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01618/3.02, allocations: 4.708 MB / 1.028 GB, free: 0 / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3155/3.335, allocations: 6.05 MB / 1.034 GB, free: 85.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01262/3.348, allocations: 5.405 MB / 1.039 GB, free: 85.06 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.479e-05/3.348, allocations: 12.59 kB / 1.039 GB, free: 85.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.0322/3.38, allocations: 13.25 MB / 1.052 GB, free: 84.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.522e-05/3.38, allocations: 28.98 kB / 1.052 GB, free: 84.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.913e-05/3.38, allocations: 44.5 kB / 1.052 GB, free: 84.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01058/3.391, allocations: 3.857 MB / 1.056 GB, free: 84.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007431/3.399, allocations: 1.302 MB / 1.057 GB, free: 84.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02129/3.42, allocations: 16.62 MB / 1.073 GB, free: 76.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007132/3.427, allocations: 373.8 kB / 1.074 GB, free: 76.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0019/3.429, allocations: 300.6 kB / 1.074 GB, free: 76.82 MB / 490.7 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.002464/3.432, allocations: 498 kB / 1.075 GB, free: 76.72 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002054/3.434, allocations: 0.5386 MB / 1.075 GB, free: 76.72 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03256/3.466, allocations: 13.31 MB / 1.088 GB, free: 76.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002066/3.466, allocations: 157.8 kB / 1.088 GB, free: 76.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.873e-05/3.466, allocations: 10.78 kB / 1.088 GB, free: 76.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001304/3.467, allocations: 37.58 kB / 1.088 GB, free: 76.11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06053/3.527, allocations: 26.75 MB / 1.114 GB, free: 67.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-05/3.527, allocations: 2.969 kB / 1.114 GB, free: 67.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005795/3.533, allocations: 0.8705 MB / 1.115 GB, free: 67.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01103/3.544, allocations: 3.932 MB / 1.119 GB, free: 66.72 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001446/3.546, allocations: 166.8 kB / 1.119 GB, free: 66.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02541/3.571, allocations: 20.77 MB / 1.14 GB, free: 51.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.033e-06/3.571, allocations: 3.781 kB / 1.14 GB, free: 51.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04132/3.612, allocations: 19.73 MB / 1.159 GB, free: 38.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004986/3.617, allocations: 1.644 MB / 1.16 GB, free: 36.77 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001905/3.619, allocations: 116 kB / 1.161 GB, free: 36.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005099/3.625, allocations: 297.1 kB / 1.161 GB, free: 36.44 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001977/3.627, allocations: 0.5117 MB / 1.161 GB, free: 36.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007897/3.627, allocations: 192.9 kB / 1.161 GB, free: 35.94 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006129/3.633, allocations: 2.646 MB / 1.164 GB, free: 33.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.194e-06/3.634, allocations: 0 / 1.164 GB, free: 33.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01076/3.644, allocations: 2.017 MB / 1.166 GB, free: 31.54 MB / 490.7 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.003325/3.648, allocations: 0.9776 MB / 1.167 GB, free: 30.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02456/3.672, allocations: 11.43 MB / 1.178 GB, free: 20.49 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.976e-06/3.672, allocations: 0 / 1.178 GB, free: 20.49 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01479/3.687, allocations: 6.536 MB / 1.185 GB, free: 14.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008022/3.695, allocations: 1.208 MB / 1.186 GB, free: 13.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.348/4.043, allocations: 19.82 MB / 1.205 GB, free: 83.01 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01635/4.06, allocations: 7.188 MB / 1.212 GB, free: 82.09 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008876/4.068, allocations: 1.657 MB / 1.214 GB, free: 82.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002391/4.071, allocations: 399.5 kB / 1.214 GB, free: 82.04 MB / 490.7 MB Notification: Performance of SimCode: time 2.896e-06/4.071, allocations: 0 / 1.214 GB, free: 82.04 MB / 490.7 MB Notification: Performance of Templates: time 0.2642/4.335, allocations: 116.6 MB / 1.328 GB, free: 38.66 MB / 490.7 MB