Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadModel(Modelica): time 1.955/1.955, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.986e-05/3.005e-05, allocations: 0 / 269.4 MB, free: 6.375 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08506/0.08512, allocations: 47.57 MB / 317 MB, free: 6.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4472/0.5323, allocations: 152.8 MB / 469.8 MB, free: 244 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/0.5327, allocations: 105.8 kB / 469.9 MB, free: 184 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.076/2.609, allocations: 456.6 MB / 0.9048 GB, free: 36.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.574e-06/2.609, allocations: 0 / 0.9048 GB, free: 36.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001156/2.61, allocations: 329.3 kB / 0.9051 GB, free: 36.29 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.05614/2.666, allocations: 13.27 MB / 0.9181 GB, free: 32.24 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/2.666, allocations: 7.688 kB / 0.9181 GB, free: 32.24 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04959/2.716, allocations: 6.475 MB / 0.9244 GB, free: 31.44 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03384/2.75, allocations: 11.5 MB / 0.9356 GB, free: 30.09 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001449/2.751, allocations: 1.051 MB / 0.9367 GB, free: 30.05 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005889/2.757, allocations: 1.364 MB / 0.938 GB, free: 30.05 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06419/2.821, allocations: 23.22 MB / 0.9607 GB, free: 28.02 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005509/2.822, allocations: 22.39 kB / 0.9607 GB, free: 28.01 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004538/2.827, allocations: 0.5863 MB / 0.9613 GB, free: 27.57 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001166/2.828, allocations: 0.927 MB / 0.9622 GB, free: 27.37 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05207/2.88, allocations: 20.81 MB / 0.9825 GB, free: 16.03 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.501/3.381, allocations: 75.13 MB / 1.056 GB, free: 32.54 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03555/3.416, allocations: 28.17 MB / 1.083 GB, free: 33.26 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01938/3.436, allocations: 9.353 MB / 1.092 GB, free: 33.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06915/3.505, allocations: 29.54 MB / 1.121 GB, free: 30.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001168/3.505, allocations: 118 kB / 1.121 GB, free: 30.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=934): time 1.445e-05/3.505, allocations: 0 / 1.121 GB, free: 30.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=942): time 0.08077/3.586, allocations: 33.14 MB / 1.154 GB, free: 15.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/3.586, allocations: 161.1 kB / 1.154 GB, free: 15.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009375/3.596, allocations: 4.104 MB / 1.158 GB, free: 13.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001702/3.597, allocations: 154.2 kB / 1.158 GB, free: 13.55 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00514/3.602, allocations: 5.333 MB / 1.163 GB, free: 9.562 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005071/3.608, allocations: 3.105 MB / 1.166 GB, free: 7.145 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001185/3.609, allocations: 168.3 kB / 1.167 GB, free: 7.016 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0009508/3.61, allocations: 0.6931 MB / 1.167 GB, free: 6.539 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0132/3.623, allocations: 5.957 MB / 1.173 GB, free: 4.047 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01598/3.639, allocations: 7.788 MB / 1.181 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01841/3.657, allocations: 7.272 MB / 1.188 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-05/3.658, allocations: 12 kB / 1.188 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.424/4.082, allocations: 19.86 MB / 1.207 GB, free: 75.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.071e-05/4.082, allocations: 29.53 kB / 1.207 GB, free: 75.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001058/4.082, allocations: 48.91 kB / 1.207 GB, free: 75.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01827/4.1, allocations: 5.861 MB / 1.213 GB, free: 75.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009251/4.109, allocations: 1.521 MB / 1.214 GB, free: 75.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02957/4.139, allocations: 19.97 MB / 1.234 GB, free: 67.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008385/4.148, allocations: 429.7 kB / 1.234 GB, free: 67.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002711/4.15, allocations: 380.1 kB / 1.235 GB, free: 67.76 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 232 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (800): * Single equations (assignments): 747 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 44 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 4 {6 9,6 9,6 9,30 175} Notification: Performance of prepare postOptimizeDAE: time 0.003757/4.154, allocations: 0.5572 MB / 1.235 GB, free: 67.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002509/4.157, allocations: 0.6569 MB / 1.236 GB, free: 67.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04432/4.201, allocations: 18.05 MB / 1.254 GB, free: 67.03 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03153/4.233, allocations: 14.28 MB / 1.267 GB, free: 66.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.995e-05/4.233, allocations: 10.22 kB / 1.267 GB, free: 66.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001693/4.233, allocations: 39 kB / 1.268 GB, free: 66.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08222/4.315, allocations: 35.33 MB / 1.302 GB, free: 54.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001196/4.315, allocations: 3.875 kB / 1.302 GB, free: 54.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006891/4.322, allocations: 1.039 MB / 1.303 GB, free: 54.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01688/4.339, allocations: 5.952 MB / 1.309 GB, free: 52.85 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002053/4.341, allocations: 205 kB / 1.309 GB, free: 52.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0338/4.375, allocations: 24.2 MB / 1.333 GB, free: 36.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.065e-06/4.375, allocations: 7.562 kB / 1.333 GB, free: 36.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05354/4.429, allocations: 27.05 MB / 1.359 GB, free: 17.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00641/4.435, allocations: 2.099 MB / 1.361 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002485/4.437, allocations: 147.2 kB / 1.361 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005928/4.443, allocations: 370.1 kB / 1.362 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002487/4.446, allocations: 0.7118 MB / 1.362 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001091/4.447, allocations: 254 kB / 1.363 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006398/4.453, allocations: 3.102 MB / 1.366 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.059e-06/4.454, allocations: 0 / 1.366 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0125/4.466, allocations: 2.501 MB / 1.368 GB, free: 8.797 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma,imc.inertiaRotor.w,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,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (552): * Single equations (assignments): 498 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 44 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 4 {6 9,6 9,6 9,30 175} Notification: Performance of Backend phase and start with SimCode phase: time 0.002617/4.469, allocations: 0.7506 MB / 1.369 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.05063/4.519, allocations: 16.17 MB / 1.385 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.996e-06/4.519, allocations: 0 / 1.385 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02226/4.542, allocations: 8.637 MB / 1.393 GB, free: 5.285 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01005/4.552, allocations: 1.482 MB / 1.394 GB, free: 4.129 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3846/4.936, allocations: 26.42 MB / 1.42 GB, free: 89.24 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02026/4.957, allocations: 9.319 MB / 1.429 GB, free: 88.09 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01105/4.968, allocations: 2.065 MB / 1.431 GB, free: 87.87 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002839/4.971, allocations: 457.2 kB / 1.432 GB, free: 87.87 MB / 0.5105 GB Notification: Performance of SimCode: time 1.833e-06/4.971, allocations: 0 / 1.432 GB, free: 87.87 MB / 0.5105 GB Notification: Performance of Templates: time 0.8337/5.804, allocations: 153.8 MB / 1.582 GB, free: 90.93 MB / 0.5105 GB