Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,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|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.869/1.869, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.663e-05/3.679e-05, allocations: 4 kB / 270.4 MB, free: 5.375 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08627/0.08633, allocations: 47.57 MB / 317.9 MB, free: 5.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.451/0.5373, allocations: 167.2 MB / 485.1 MB, free: 1.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.5377, allocations: 98.81 kB / 485.2 MB, free: 1.016 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.869/4.406, allocations: 0.8579 GB / 1.332 GB, free: 33.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.914e-06/4.407, allocations: 4 kB / 1.332 GB, free: 33.47 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001439/4.408, allocations: 481.3 kB / 1.332 GB, free: 33.39 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5875 * Number of variables: 5875 Notification: Performance of Generate backend data structure: time 0.08177/4.49, allocations: 19.58 MB / 1.351 GB, free: 27.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/4.49, allocations: 7.906 kB / 1.351 GB, free: 27.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0759/4.566, allocations: 10.33 MB / 1.361 GB, free: 26.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0447/4.61, allocations: 15.81 MB / 1.377 GB, free: 19.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002106/4.613, allocations: 1.545 MB / 1.378 GB, free: 18.36 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00923/4.622, allocations: 2.021 MB / 1.38 GB, free: 16.37 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5306/5.153, allocations: 35.62 MB / 1.415 GB, free: 31.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009648/5.154, allocations: 25.78 kB / 1.415 GB, free: 31.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007048/5.161, allocations: 0.867 MB / 1.416 GB, free: 31.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001917/5.163, allocations: 1.388 MB / 1.417 GB, free: 31.03 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08308/5.246, allocations: 31.86 MB / 1.449 GB, free: 30.93 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2444/5.49, allocations: 112 MB / 1.558 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4619/5.952, allocations: 44.53 MB / 1.601 GB, free: 78.92 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03596/5.988, allocations: 16.32 MB / 1.617 GB, free: 78.77 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1184/6.107, allocations: 50.36 MB / 1.666 GB, free: 77.55 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/6.107, allocations: 177.1 kB / 1.667 GB, free: 77.5 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1576): time 2.315e-05/6.107, allocations: 3 kB / 1.667 GB, free: 77.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1588): time 0.1412/6.248, allocations: 57.17 MB / 1.723 GB, free: 52.44 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/6.248, allocations: 215.6 kB / 1.723 GB, free: 52.33 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01372/6.262, allocations: 5.924 MB / 1.728 GB, free: 50.14 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002821/6.265, allocations: 251.1 kB / 1.729 GB, free: 49.93 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.004869/6.27, allocations: 7.358 MB / 1.736 GB, free: 44.45 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.006914/6.277, allocations: 5.193 MB / 1.741 GB, free: 40.39 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002608/6.279, allocations: 258.5 kB / 1.741 GB, free: 40.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001611/6.281, allocations: 0.9107 MB / 1.742 GB, free: 39.63 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02196/6.303, allocations: 10.16 MB / 1.752 GB, free: 31.83 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02382/6.327, allocations: 12.29 MB / 1.764 GB, free: 20.22 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02498/6.352, allocations: 12.1 MB / 1.776 GB, free: 9.973 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.394e-05/6.352, allocations: 16 kB / 1.776 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1865) (initialization): time 0.5695/6.921, allocations: 31.25 MB / 1.806 GB, free: 87.45 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.704e-05/6.922, allocations: 31.22 kB / 1.806 GB, free: 87.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001473/6.922, allocations: 51.94 kB / 1.806 GB, free: 87.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04144/6.963, allocations: 14.61 MB / 1.821 GB, free: 86.92 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01216/6.975, allocations: 2.083 MB / 1.823 GB, free: 86.92 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05575/7.031, allocations: 35.63 MB / 1.858 GB, free: 77.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01157/7.043, allocations: 0.6262 MB / 1.858 GB, free: 77.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003305/7.046, allocations: 0.5259 MB / 1.859 GB, free: 77.64 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1058): * Single equations (assignments): 1018 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * 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,(3,88.9%) 25,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,66 432} Notification: Performance of prepare postOptimizeDAE: time 0.003524/7.05, allocations: 0.7622 MB / 1.859 GB, free: 77.52 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003112/7.053, allocations: 1.01 MB / 1.86 GB, free: 77.52 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07181/7.125, allocations: 31.92 MB / 1.892 GB, free: 76.44 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005043/7.125, allocations: 384.8 kB / 1.892 GB, free: 76.25 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.168e-05/7.125, allocations: 12.39 kB / 1.892 GB, free: 76.25 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002544/7.125, allocations: 68.31 kB / 1.892 GB, free: 76.25 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1642/7.29, allocations: 60.2 MB / 1.951 GB, free: 48.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00018/7.29, allocations: 10.39 kB / 1.951 GB, free: 48.28 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01006/7.3, allocations: 1.618 MB / 1.952 GB, free: 47.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04039/7.34, allocations: 14.8 MB / 1.967 GB, free: 34.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003083/7.344, allocations: 339.3 kB / 1.967 GB, free: 33.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5627/7.906, allocations: 39.87 MB / 2.006 GB, free: 90.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/7.906, allocations: 7.547 kB / 2.006 GB, free: 90.36 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1343/8.041, allocations: 47.38 MB / 2.052 GB, free: 88.43 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0126/8.053, allocations: 3.479 MB / 2.056 GB, free: 88.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005871/8.059, allocations: 240.9 kB / 2.056 GB, free: 88.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0114/8.071, allocations: 0.6226 MB / 2.057 GB, free: 88.34 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005021/8.076, allocations: 1.174 MB / 2.058 GB, free: 88.33 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003933/8.08, allocations: 421.9 kB / 2.058 GB, free: 88.33 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01119/8.091, allocations: 4.53 MB / 2.063 GB, free: 88.08 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.155e-06/8.091, allocations: 2.156 kB / 2.063 GB, free: 88.08 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02039/8.111, allocations: 3.9 MB / 2.066 GB, free: 88.08 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (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,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (820): * Single equations (assignments): 779 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * 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%) 8,(3,88.9%) 25,(1,100.0%) 1,(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,66 432} Notification: Performance of Backend phase and start with SimCode phase: time 0.004335/8.116, allocations: 0.9384 MB / 2.067 GB, free: 87.98 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.05785/8.174, allocations: 25.9 MB / 2.093 GB, free: 82.49 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/8.174, allocations: 3.219 kB / 2.093 GB, free: 82.49 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0367/8.21, allocations: 14.82 MB / 2.107 GB, free: 76.31 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01682/8.227, allocations: 2.336 MB / 2.109 GB, free: 75.71 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1028/8.33, allocations: 40.74 MB / 2.149 GB, free: 44 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03025/8.36, allocations: 13.89 MB / 2.163 GB, free: 33.61 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01567/8.376, allocations: 3.089 MB / 2.166 GB, free: 31.47 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004286/8.38, allocations: 0.6401 MB / 2.166 GB, free: 30.86 MB / 0.5573 GB Notification: Performance of SimCode: time 1.917e-06/8.38, allocations: 4 kB / 2.166 GB, free: 30.86 MB / 0.5573 GB Notification: Performance of Templates: time 1.871/10.25, allocations: 267.3 MB / 2.427 GB, free: 93.86 MB / 0.5887 GB