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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadModel(Modelica): time 1.878/1.878, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.889e-05/2.916e-05, allocations: 1.406 kB / 292.7 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09167/0.09173, allocations: 50.42 MB / 343.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4582/0.55, allocations: 154 MB / 497.1 MB, free: 5.266 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/0.5503, allocations: 99.06 kB / 497.2 MB, free: 5.211 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.158/2.708, allocations: 456.8 MB / 0.9317 GB, free: 37.98 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.079e-06/2.708, allocations: 0 / 0.9317 GB, free: 37.98 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0009755/2.709, allocations: 330.2 kB / 0.932 GB, free: 37.95 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.05209/2.761, allocations: 13.18 MB / 0.9448 GB, free: 33.93 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/2.761, allocations: 9.5 kB / 0.9449 GB, free: 33.93 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04446/2.806, allocations: 5.833 MB / 0.9505 GB, free: 33.13 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0326/2.839, allocations: 11.68 MB / 0.962 GB, free: 31.79 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00111/2.84, allocations: 1.023 MB / 0.963 GB, free: 31.76 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005433/2.845, allocations: 1.354 MB / 0.9643 GB, free: 31.75 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06063/2.906, allocations: 22 MB / 0.9858 GB, free: 27.76 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005552/2.906, allocations: 29.28 kB / 0.9858 GB, free: 27.75 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00421/2.911, allocations: 0.5802 MB / 0.9864 GB, free: 27.31 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001167/2.912, allocations: 0.9773 MB / 0.9873 GB, free: 27.09 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04834/2.96, allocations: 18.99 MB / 1.006 GB, free: 15.5 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4948/3.455, allocations: 72.73 MB / 1.077 GB, free: 29.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04293/3.498, allocations: 42.07 MB / 1.118 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01003/3.508, allocations: 5.064 MB / 1.123 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03033/3.539, allocations: 12.76 MB / 1.135 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.269e-05/3.539, allocations: 91.19 kB / 1.135 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=502): time 1.122e-05/3.539, allocations: 1.656 kB / 1.135 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=510): time 0.043/3.582, allocations: 18.82 MB / 1.154 GB, free: 21.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/3.582, allocations: 136.1 kB / 1.154 GB, free: 21.16 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0109/3.593, allocations: 5.007 MB / 1.159 GB, free: 20.72 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009064/3.594, allocations: 110.6 kB / 1.159 GB, free: 20.69 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004189/3.598, allocations: 6.138 MB / 1.165 GB, free: 17.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002058/3.6, allocations: 1.751 MB / 1.167 GB, free: 16.39 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007945/3.601, allocations: 153.1 kB / 1.167 GB, free: 16.39 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005979/3.601, allocations: 0.6033 MB / 1.167 GB, free: 16.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007437/3.609, allocations: 3.51 MB / 1.171 GB, free: 16.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009164/3.618, allocations: 6.255 MB / 1.177 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009426/3.628, allocations: 4.921 MB / 1.182 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-05/3.628, allocations: 26.5 kB / 1.182 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.02715/3.655, allocations: 11.53 MB / 1.193 GB, free: 8.672 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.58e-05/3.655, allocations: 42.44 kB / 1.193 GB, free: 8.672 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001395/3.655, allocations: 96.14 kB / 1.193 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005398/3.661, allocations: 1.499 MB / 1.195 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008238/3.669, allocations: 1.644 MB / 1.196 GB, free: 8.234 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03031/3.699, allocations: 17.83 MB / 1.214 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007627/3.707, allocations: 434 kB / 1.214 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001667/3.709, allocations: 368.1 kB / 1.214 GB, free: 12.23 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 417 * 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 (860): * Single equations (assignments): 850 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * 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: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1,(12,52.8%) 64} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001893/3.71, allocations: 0.5698 MB / 1.215 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001664/3.712, allocations: 0.5948 MB / 1.216 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0218/3.734, allocations: 9.146 MB / 1.224 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01367/3.748, allocations: 5.762 MB / 1.23 GB, free: 3.395 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.044e-05/3.748, allocations: 20 kB / 1.23 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.594e-05/3.748, allocations: 26.95 kB / 1.23 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3937/4.142, allocations: 21.01 MB / 1.251 GB, free: 91.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.845e-05/4.142, allocations: 6.094 kB / 1.251 GB, free: 91.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00516/4.147, allocations: 0.8504 MB / 1.252 GB, free: 91.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006461/4.153, allocations: 1.543 MB / 1.253 GB, free: 91.37 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009773/4.154, allocations: 131.7 kB / 1.253 GB, free: 91.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03335/4.188, allocations: 21 MB / 1.274 GB, free: 82.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.365e-06/4.188, allocations: 7.188 kB / 1.274 GB, free: 82.22 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02929/4.217, allocations: 14.29 MB / 1.288 GB, free: 79.99 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004516/4.222, allocations: 1.357 MB / 1.289 GB, free: 79.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002073/4.224, allocations: 109 kB / 1.289 GB, free: 79.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005138/4.229, allocations: 300 kB / 1.289 GB, free: 79.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001525/4.231, allocations: 412.5 kB / 1.29 GB, free: 79.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005638/4.231, allocations: 158.4 kB / 1.29 GB, free: 79.89 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008452/4.24, allocations: 3.752 MB / 1.294 GB, free: 79.69 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.127e-06/4.24, allocations: 0 / 1.294 GB, free: 79.69 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01228/4.252, allocations: 2.378 MB / 1.296 GB, free: 79.69 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (439): * Single equations (assignments): 428 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(12,52.1%) 64,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001913/4.254, allocations: 0.7434 MB / 1.297 GB, free: 79.53 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01961/4.273, allocations: 9.384 MB / 1.306 GB, free: 78.72 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/4.274, allocations: 5.266 kB / 1.306 GB, free: 78.72 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01697/4.291, allocations: 5.248 MB / 1.311 GB, free: 77.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009052/4.3, allocations: 1.484 MB / 1.312 GB, free: 77.85 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05225/4.352, allocations: 21.02 MB / 1.333 GB, free: 72.41 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01858/4.371, allocations: 9.087 MB / 1.342 GB, free: 69.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01161/4.382, allocations: 2.507 MB / 1.344 GB, free: 69.07 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002545/4.385, allocations: 455.5 kB / 1.345 GB, free: 69.05 MB / 0.5261 GB Notification: Performance of SimCode: time 1.815e-06/4.385, allocations: 4 kB / 1.345 GB, free: 69.05 MB / 0.5261 GB Notification: Performance of Templates: time 0.5843/4.969, allocations: 97.97 MB / 1.44 GB, free: 91.07 MB / 0.5261 GB