Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.948/1.948, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.043e-05/3.047e-05, allocations: 8 kB / 292.2 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08893/0.08898, allocations: 50.4 MB / 342.6 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.411/0.5, allocations: 119.5 MB / 462.1 MB, free: 7.203 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.5004, allocations: 95.75 kB / 462.2 MB, free: 7.152 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.708/1.208, allocations: 133.5 MB / 0.5818 GB, free: 93.63 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.689e-06/1.208, allocations: 0 / 0.5818 GB, free: 93.63 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004001/1.209, allocations: 128.3 kB / 0.5819 GB, free: 93.61 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.01414/1.223, allocations: 4.783 MB / 0.5866 GB, free: 91.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/1.223, allocations: 9.438 kB / 0.5866 GB, free: 91.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006121/1.229, allocations: 0.9781 MB / 0.5875 GB, free: 91.31 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01187/1.241, allocations: 4.482 MB / 0.5919 GB, free: 89.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002744/1.241, allocations: 367 kB / 0.5922 GB, free: 88.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009691/1.242, allocations: 481.7 kB / 0.5927 GB, free: 88.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/1.257, allocations: 6.539 MB / 0.5991 GB, free: 85.72 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001271/1.257, allocations: 11.86 kB / 0.5991 GB, free: 85.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00068/1.258, allocations: 206.9 kB / 0.5993 GB, free: 85.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002214/1.258, allocations: 239.4 kB / 0.5995 GB, free: 85.53 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01311/1.271, allocations: 5.343 MB / 0.6047 GB, free: 83.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0411/1.313, allocations: 20.98 MB / 0.6252 GB, free: 63.87 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009312/1.322, allocations: 9.796 MB / 0.6348 GB, free: 53.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004479/1.326, allocations: 2.41 MB / 0.6372 GB, free: 50.63 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01338/1.34, allocations: 6.498 MB / 0.6435 GB, free: 44.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/1.34, allocations: 60.56 kB / 0.6436 GB, free: 44.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=217): time 5.755e-06/1.34, allocations: 0 / 0.6436 GB, free: 44.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=224): time 0.01544/1.355, allocations: 7.266 MB / 0.6507 GB, free: 36.67 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/1.355, allocations: 77.41 kB / 0.6507 GB, free: 36.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005045/1.361, allocations: 2.612 MB / 0.6533 GB, free: 33.96 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004058/1.361, allocations: 65.7 kB / 0.6533 GB, free: 33.89 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00142/1.362, allocations: 2.161 MB / 0.6554 GB, free: 31.71 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007127/1.363, allocations: 0.7511 MB / 0.6562 GB, free: 30.97 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/1.363, allocations: 52 kB / 0.6562 GB, free: 30.92 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/1.364, allocations: 415 kB / 0.6566 GB, free: 30.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002192/1.366, allocations: 1.207 MB / 0.6578 GB, free: 29.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002579/1.368, allocations: 1.756 MB / 0.6595 GB, free: 27.31 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00287/1.371, allocations: 1.509 MB / 0.661 GB, free: 25.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.856e-05/1.371, allocations: 8 kB / 0.661 GB, free: 25.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.008465/1.38, allocations: 3.987 MB / 0.6649 GB, free: 21.76 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.6e-05/1.38, allocations: 12 kB / 0.6649 GB, free: 21.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.824e-05/1.38, allocations: 16 kB / 0.6649 GB, free: 21.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002257/1.382, allocations: 0.6473 MB / 0.6656 GB, free: 21.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003108/1.385, allocations: 0.5461 MB / 0.6661 GB, free: 20.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01168/1.397, allocations: 9.989 MB / 0.6758 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003027/1.4, allocations: 107.9 kB / 0.6759 GB, free: 9.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004818/1.401, allocations: 100.1 kB / 0.676 GB, free: 9.812 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 6 (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 initialization (269): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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%) 1,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005719/1.401, allocations: 255.8 kB / 0.6763 GB, free: 9.559 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008444/1.402, allocations: 312.2 kB / 0.6766 GB, free: 9.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007696/1.41, allocations: 3.774 MB / 0.6803 GB, free: 5.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.536e-05/1.41, allocations: 27.92 kB / 0.6803 GB, free: 5.383 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.999e-05/1.41, allocations: 16 kB / 0.6803 GB, free: 5.367 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.374e-05/1.41, allocations: 11.95 kB / 0.6803 GB, free: 5.355 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2844/1.694, allocations: 8.381 MB / 0.6885 GB, free: 83.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/1.694, allocations: 6.359 kB / 0.6885 GB, free: 83.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002103/1.697, allocations: 343.1 kB / 0.6888 GB, free: 83.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003044/1.7, allocations: 0.8033 MB / 0.6896 GB, free: 83.47 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002526/1.7, allocations: 60.34 kB / 0.6897 GB, free: 83.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01861/1.719, allocations: 14.37 MB / 0.7037 GB, free: 75.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.808e-06/1.719, allocations: 3.219 kB / 0.7037 GB, free: 75.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01216/1.731, allocations: 5.666 MB / 0.7093 GB, free: 74.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002094/1.733, allocations: 0.688 MB / 0.7099 GB, free: 74.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006661/1.734, allocations: 52.88 kB / 0.71 GB, free: 74.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001946/1.736, allocations: 121.8 kB / 0.7101 GB, free: 74.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005506/1.736, allocations: 189.7 kB / 0.7103 GB, free: 74.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002396/1.736, allocations: 66.56 kB / 0.7103 GB, free: 74.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003741/1.74, allocations: 2.004 MB / 0.7123 GB, free: 74.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.038e-06/1.74, allocations: 0 / 0.7123 GB, free: 74.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003998/1.744, allocations: 0.9795 MB / 0.7133 GB, free: 74.57 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (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 (154): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 26,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008802/1.745, allocations: 0.5145 MB / 0.7138 GB, free: 74.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006631/1.752, allocations: 3.658 MB / 0.7173 GB, free: 73.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.804e-06/1.752, allocations: 0 / 0.7173 GB, free: 73.88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004687/1.756, allocations: 2.489 MB / 0.7198 GB, free: 73.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00435/1.761, allocations: 0.8569 MB / 0.7206 GB, free: 73.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/1.778, allocations: 7.729 MB / 0.7281 GB, free: 70.72 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004222/1.782, allocations: 3.508 MB / 0.7316 GB, free: 69.38 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003268/1.785, allocations: 0.7433 MB / 0.7323 GB, free: 69.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007859/1.786, allocations: 187 kB / 0.7325 GB, free: 69.28 MB / 442.7 MB Notification: Performance of SimCode: time 1.707e-06/1.786, allocations: 0 / 0.7325 GB, free: 69.28 MB / 442.7 MB Notification: Performance of Templates: time 0.122/1.908, allocations: 51.13 MB / 0.7824 GB, free: 52.95 MB / 442.7 MB