Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") Notification: Performance of loadModel(Modelica): time 1.946/1.946, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.017e-05/4.037e-05, allocations: 4 kB / 270.4 MB, free: 5.383 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08689/0.08696, allocations: 47.58 MB / 317.9 MB, free: 5.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4433/0.5303, allocations: 153.1 MB / 471 MB, free: 15.08 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/0.5306, allocations: 104.6 kB / 471.1 MB, free: 15.03 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.073/2.603, allocations: 466 MB / 0.9152 GB, free: 34.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.03e-06/2.603, allocations: 0 / 0.9152 GB, free: 34.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001054/2.604, allocations: 326.6 kB / 0.9155 GB, free: 34.75 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: 3951 * Number of variables: 3951 Notification: Performance of Generate backend data structure: time 0.05468/2.659, allocations: 13.57 MB / 0.9288 GB, free: 30.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/2.659, allocations: 7.062 kB / 0.9288 GB, free: 30.66 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05035/2.71, allocations: 6.71 MB / 0.9353 GB, free: 29.86 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03221/2.742, allocations: 11.45 MB / 0.9465 GB, free: 28.52 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001472/2.743, allocations: 1.042 MB / 0.9475 GB, free: 28.48 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006063/2.749, allocations: 1.359 MB / 0.9488 GB, free: 28.47 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06657/2.816, allocations: 23.64 MB / 0.9719 GB, free: 24.66 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005947/2.817, allocations: 26.44 kB / 0.972 GB, free: 24.64 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005179/2.822, allocations: 0.5816 MB / 0.9725 GB, free: 24.21 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001196/2.823, allocations: 0.9353 MB / 0.9734 GB, free: 24 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05618/2.879, allocations: 21.44 MB / 0.9944 GB, free: 8.785 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5251/3.404, allocations: 77.9 MB / 1.07 GB, free: 32.48 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03759/3.442, allocations: 30.47 MB / 1.1 GB, free: 32.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02121/3.463, allocations: 10.65 MB / 1.111 GB, free: 32.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07546/3.539, allocations: 33.25 MB / 1.143 GB, free: 20.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/3.539, allocations: 129.3 kB / 1.143 GB, free: 20.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1011): time 3.204e-05/3.539, allocations: 3.594 kB / 1.143 GB, free: 20.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=1019): time 0.1085/3.648, allocations: 37.61 MB / 1.18 GB, free: 3.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/3.648, allocations: 169.8 kB / 1.18 GB, free: 3.379 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01043/3.658, allocations: 4.282 MB / 1.184 GB, free: 1.773 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001958/3.66, allocations: 164.2 kB / 1.184 GB, free: 1.637 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005415/3.666, allocations: 5.202 MB / 1.19 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005795/3.672, allocations: 3.337 MB / 1.193 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001717/3.673, allocations: 178.1 kB / 1.193 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001152/3.674, allocations: 0.6984 MB / 1.194 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01585/3.69, allocations: 6.658 MB / 1.2 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3516/4.042, allocations: 9.006 MB / 1.209 GB, free: 78.37 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01787/4.06, allocations: 7.958 MB / 1.217 GB, free: 78.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001053/4.06, allocations: 13.06 kB / 1.217 GB, free: 78.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.05103/4.111, allocations: 20.82 MB / 1.237 GB, free: 77.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.536e-05/4.111, allocations: 22.44 kB / 1.237 GB, free: 77.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001086/4.111, allocations: 44.28 kB / 1.237 GB, free: 77.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0245/4.136, allocations: 8.427 MB / 1.245 GB, free: 77.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008755/4.145, allocations: 1.396 MB / 1.247 GB, free: 77.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04254/4.187, allocations: 27.77 MB / 1.274 GB, free: 69.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00861/4.196, allocations: 426.5 kB / 1.274 GB, free: 69.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002341/4.198, allocations: 372.6 kB / 1.275 GB, free: 69.43 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 199 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (727): * Single equations (assignments): 698 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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: 5 {(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 3 {6 9,6 9,46 263} Notification: Performance of prepare postOptimizeDAE: time 0.002658/4.201, allocations: 0.5642 MB / 1.275 GB, free: 69.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002142/4.203, allocations: 0.6915 MB / 1.276 GB, free: 69.32 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04777/4.251, allocations: 21.02 MB / 1.296 GB, free: 62.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003533/4.251, allocations: 244 kB / 1.297 GB, free: 62.31 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.648e-05/4.251, allocations: 9.375 kB / 1.297 GB, free: 62.31 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001731/4.251, allocations: 42.47 kB / 1.297 GB, free: 62.31 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09062/4.342, allocations: 39.9 MB / 1.336 GB, free: 44.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001307/4.342, allocations: 0 / 1.336 GB, free: 44.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006779/4.349, allocations: 0.9692 MB / 1.337 GB, free: 44.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02289/4.372, allocations: 8.539 MB / 1.345 GB, free: 37.01 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00212/4.374, allocations: 219.9 kB / 1.345 GB, free: 36.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04418/4.418, allocations: 32.02 MB / 1.376 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/4.418, allocations: 8.641 kB / 1.376 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4359/4.854, allocations: 33.49 MB / 1.409 GB, free: 87.91 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007358/4.862, allocations: 2.354 MB / 1.411 GB, free: 87.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002949/4.865, allocations: 154.4 kB / 1.412 GB, free: 87.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006791/4.871, allocations: 393.7 kB / 1.412 GB, free: 87.81 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003073/4.875, allocations: 0.7914 MB / 1.413 GB, free: 87.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001732/4.876, allocations: 270.6 kB / 1.413 GB, free: 87.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008101/4.884, allocations: 3.259 MB / 1.416 GB, free: 87.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.767e-06/4.884, allocations: 0 / 1.416 GB, free: 87.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01386/4.898, allocations: 2.651 MB / 1.419 GB, free: 87.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,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,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (510): * Single equations (assignments): 480 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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: 7 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 3 {6 9,6 9,46 263} Notification: Performance of Backend phase and start with SimCode phase: time 0.002831/4.901, allocations: 0.7404 MB / 1.419 GB, free: 87.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03815/4.939, allocations: 17.22 MB / 1.436 GB, free: 86.54 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/4.939, allocations: 5.75 kB / 1.436 GB, free: 86.54 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02392/4.963, allocations: 10.02 MB / 1.446 GB, free: 85.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01096/4.974, allocations: 1.567 MB / 1.448 GB, free: 85.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06902/5.043, allocations: 27.16 MB / 1.474 GB, free: 81.47 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02051/5.064, allocations: 9.511 MB / 1.483 GB, free: 80.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01041/5.074, allocations: 1.986 MB / 1.485 GB, free: 80.08 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003014/5.077, allocations: 437.9 kB / 1.486 GB, free: 80.07 MB / 0.5105 GB Notification: Performance of SimCode: time 2.294e-06/5.078, allocations: 0 / 1.486 GB, free: 80.07 MB / 0.5105 GB Notification: Performance of Templates: time 0.7016/5.779, allocations: 177.5 MB / 1.659 GB, free: 79.93 MB / 0.5105 GB