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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadModel(Modelica): time 1.914/1.914, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.476e-05/2.497e-05, allocations: 0 / 292.2 MB, free: 8.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08952/0.08957, allocations: 50.41 MB / 342.6 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.45/0.5396, allocations: 154 MB / 496.5 MB, free: 5.246 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.5399, allocations: 101.9 kB / 496.6 MB, free: 5.191 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.058/2.598, allocations: 456.8 MB / 0.9311 GB, free: 37.78 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.431e-06/2.598, allocations: 0 / 0.9311 GB, free: 37.78 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0009331/2.599, allocations: 329.1 kB / 0.9314 GB, free: 37.75 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.05111/2.65, allocations: 13.19 MB / 0.9443 GB, free: 33.72 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/2.651, allocations: 10.12 kB / 0.9443 GB, free: 33.72 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0413/2.692, allocations: 5.823 MB / 0.95 GB, free: 32.93 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0331/2.725, allocations: 11.68 MB / 0.9614 GB, free: 31.59 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001156/2.726, allocations: 1.029 MB / 0.9624 GB, free: 31.55 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005455/2.732, allocations: 1.352 MB / 0.9638 GB, free: 31.55 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06006/2.792, allocations: 22 MB / 0.9852 GB, free: 27.61 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004798/2.792, allocations: 20.09 kB / 0.9853 GB, free: 27.6 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003761/2.796, allocations: 0.5825 MB / 0.9858 GB, free: 27.16 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001034/2.797, allocations: 0.9771 MB / 0.9868 GB, free: 26.95 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04544/2.843, allocations: 18.99 MB / 1.005 GB, free: 15.39 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4891/3.332, allocations: 72.73 MB / 1.076 GB, free: 29.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04191/3.374, allocations: 42.07 MB / 1.117 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009634/3.383, allocations: 5.069 MB / 1.122 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0293/3.413, allocations: 12.76 MB / 1.135 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.471e-05/3.413, allocations: 94.17 kB / 1.135 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=502): time 9.916e-06/3.413, allocations: 0 / 1.135 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=510): time 0.04936/3.462, allocations: 18.82 MB / 1.153 GB, free: 21.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/3.462, allocations: 131.2 kB / 1.153 GB, free: 21.17 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01131/3.474, allocations: 5.009 MB / 1.158 GB, free: 20.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009305/3.475, allocations: 108.2 kB / 1.158 GB, free: 20.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004317/3.479, allocations: 6.134 MB / 1.164 GB, free: 17.49 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002074/3.481, allocations: 1.751 MB / 1.166 GB, free: 16.39 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008476/3.482, allocations: 155.2 kB / 1.166 GB, free: 16.39 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006183/3.483, allocations: 0.604 MB / 1.167 GB, free: 16.08 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00713/3.49, allocations: 3.513 MB / 1.17 GB, free: 16.06 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008836/3.499, allocations: 6.253 MB / 1.176 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009057/3.508, allocations: 4.919 MB / 1.181 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.235e-05/3.508, allocations: 28.81 kB / 1.181 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.02709/3.535, allocations: 11.53 MB / 1.193 GB, free: 8.621 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.662e-05/3.535, allocations: 47.73 kB / 1.193 GB, free: 8.617 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001409/3.535, allocations: 95.81 kB / 1.193 GB, free: 8.613 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005578/3.541, allocations: 1.502 MB / 1.194 GB, free: 8.234 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008179/3.549, allocations: 1.638 MB / 1.196 GB, free: 8.184 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03131/3.58, allocations: 17.82 MB / 1.213 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007639/3.588, allocations: 435 kB / 1.214 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001546/3.59, allocations: 367.2 kB / 1.214 GB, free: 12.17 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.001812/3.591, allocations: 0.5817 MB / 1.214 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001681/3.593, allocations: 0.5924 MB / 1.215 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02283/3.616, allocations: 9.146 MB / 1.224 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01375/3.63, allocations: 5.764 MB / 1.23 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.528e-05/3.63, allocations: 17.53 kB / 1.23 GB, free: 3.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.495e-05/3.63, allocations: 30.48 kB / 1.23 GB, free: 3.246 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3956/4.026, allocations: 20.9 MB / 1.25 GB, free: 91.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.7e-05/4.026, allocations: 5 kB / 1.25 GB, free: 91.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005103/4.031, allocations: 0.8583 MB / 1.251 GB, free: 91.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00622/4.037, allocations: 1.531 MB / 1.252 GB, free: 91.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001297/4.038, allocations: 123.9 kB / 1.253 GB, free: 91.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02954/4.068, allocations: 21 MB / 1.273 GB, free: 82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.939e-06/4.068, allocations: 10.22 kB / 1.273 GB, free: 82 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02529/4.093, allocations: 14.29 MB / 1.287 GB, free: 79.77 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004402/4.098, allocations: 1.364 MB / 1.288 GB, free: 79.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001515/4.099, allocations: 105 kB / 1.288 GB, free: 79.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004232/4.104, allocations: 301.8 kB / 1.289 GB, free: 79.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001088/4.105, allocations: 414.5 kB / 1.289 GB, free: 79.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005275/4.105, allocations: 150.7 kB / 1.289 GB, free: 79.67 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007405/4.113, allocations: 3.752 MB / 1.293 GB, free: 79.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.037e-06/4.113, allocations: 2.406 kB / 1.293 GB, free: 79.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01172/4.124, allocations: 2.376 MB / 1.295 GB, free: 79.46 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.00193/4.126, allocations: 0.7486 MB / 1.296 GB, free: 79.31 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02777/4.154, allocations: 9.382 MB / 1.305 GB, free: 78.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.622e-05/4.154, allocations: 0 / 1.305 GB, free: 78.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01824/4.173, allocations: 5.252 MB / 1.31 GB, free: 77.67 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01102/4.184, allocations: 1.492 MB / 1.312 GB, free: 77.63 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04915/4.233, allocations: 21.02 MB / 1.332 GB, free: 72 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0192/4.252, allocations: 9.094 MB / 1.341 GB, free: 68.89 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01025/4.262, allocations: 2.512 MB / 1.344 GB, free: 68.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002216/4.265, allocations: 453.4 kB / 1.344 GB, free: 68.64 MB / 0.5261 GB Notification: Performance of SimCode: time 2.559e-06/4.265, allocations: 0 / 1.344 GB, free: 68.64 MB / 0.5261 GB Notification: Performance of Templates: time 0.5785/4.843, allocations: 97.98 MB / 1.44 GB, free: 91.05 MB / 0.5261 GB