Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.801/1.801, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.844e-05/2.864e-05, allocations: 4 kB / 255.4 MB, free: 2.684 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08005/0.0801, allocations: 44.5 MB / 299.9 MB, free: 6.117 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3937/0.4739, allocations: 107.3 MB / 407.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004046/0.4743, allocations: 83.89 kB / 407.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4162/0.8906, allocations: 93.94 MB / 0.4895 GB, free: 2.605 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.099e-06/0.8906, allocations: 0 / 0.4895 GB, free: 2.605 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005483/0.8912, allocations: 103.9 kB / 0.4896 GB, free: 2.504 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01183/0.9031, allocations: 3.537 MB / 0.493 GB, free: 14.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.9031, allocations: 8.031 kB / 0.493 GB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002783/0.9059, allocations: 0.5102 MB / 0.4935 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008159/0.9141, allocations: 2.544 MB / 0.496 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004113/0.9146, allocations: 263 kB / 0.4963 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00147/0.9161, allocations: 355.8 kB / 0.4966 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01365/0.9297, allocations: 4.799 MB / 0.5013 GB, free: 6.234 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000116/0.9299, allocations: 7.891 kB / 0.5013 GB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006128/0.9305, allocations: 156 kB / 0.5014 GB, free: 6.074 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002487/0.9308, allocations: 175.1 kB / 0.5016 GB, free: 5.902 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01118/0.942, allocations: 3.864 MB / 0.5054 GB, free: 2.035 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2717/1.214, allocations: 14.95 MB / 0.52 GB, free: 58.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005501/1.219, allocations: 4.126 MB / 0.524 GB, free: 56.55 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005608/1.225, allocations: 1.836 MB / 0.5258 GB, free: 56.53 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005534/1.226, allocations: 145.6 kB / 0.526 GB, free: 56.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.826e-05/1.226, allocations: 58.66 kB / 0.526 GB, free: 56.39 MB / 394.7 MB Notification: Performance of pre-optimization done (n=201): time 9.91e-06/1.226, allocations: 0 / 0.526 GB, free: 56.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=221): time 0.02587/1.252, allocations: 8.326 MB / 0.5341 GB, free: 55.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/1.252, allocations: 82 kB / 0.5342 GB, free: 55.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004127/1.256, allocations: 2.182 MB / 0.5363 GB, free: 55.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003385/1.256, allocations: 64.7 kB / 0.5364 GB, free: 55.04 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001117/1.257, allocations: 1.598 MB / 0.538 GB, free: 54.56 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007574/1.258, allocations: 0.7432 MB / 0.5387 GB, free: 54.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/1.258, allocations: 44.66 kB / 0.5387 GB, free: 54.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/1.258, allocations: 401.3 kB / 0.5391 GB, free: 53.87 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002339/1.261, allocations: 1.236 MB / 0.5403 GB, free: 53.86 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002453/1.263, allocations: 1.655 MB / 0.5419 GB, free: 53.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00264/1.266, allocations: 1.49 MB / 0.5434 GB, free: 53.4 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/1.266, allocations: 0 / 0.5434 GB, free: 53.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.008472/1.274, allocations: 3.878 MB / 0.5472 GB, free: 53.13 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/1.275, allocations: 16.16 kB / 0.5472 GB, free: 53.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.417e-05/1.275, allocations: 10.56 kB / 0.5472 GB, free: 53.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002435/1.277, allocations: 0.7533 MB / 0.5479 GB, free: 53.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003069/1.28, allocations: 0.5261 MB / 0.5485 GB, free: 53.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/1.291, allocations: 8.717 MB / 0.557 GB, free: 48.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002646/1.294, allocations: 113.4 kB / 0.5571 GB, free: 48.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003862/1.294, allocations: 86.5 kB / 0.5572 GB, free: 48.36 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (248): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005544/1.295, allocations: 232.2 kB / 0.5574 GB, free: 48.19 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007473/1.296, allocations: 277.1 kB / 0.5576 GB, free: 48.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00767/1.303, allocations: 3.648 MB / 0.5612 GB, free: 46.66 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-05/1.304, allocations: 23.59 kB / 0.5612 GB, free: 46.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/1.304, allocations: 3.938 kB / 0.5612 GB, free: 46.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.155e-05/1.304, allocations: 13.55 kB / 0.5613 GB, free: 46.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01798/1.322, allocations: 7.953 MB / 0.569 GB, free: 43.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/1.322, allocations: 3.969 kB / 0.569 GB, free: 43.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002388/1.324, allocations: 391.7 kB / 0.5694 GB, free: 43.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00377/1.328, allocations: 0.8061 MB / 0.5702 GB, free: 43.35 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000595/1.329, allocations: 53.47 kB / 0.5702 GB, free: 43.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02129/1.35, allocations: 10.22 MB / 0.5802 GB, free: 35.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.591e-06/1.35, allocations: 3.406 kB / 0.5802 GB, free: 35.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01789/1.368, allocations: 5.611 MB / 0.5857 GB, free: 33.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003257/1.371, allocations: 0.6474 MB / 0.5863 GB, free: 33.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001378/1.373, allocations: 53.52 kB / 0.5864 GB, free: 32.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00407/1.377, allocations: 120.2 kB / 0.5865 GB, free: 32.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009687/1.378, allocations: 184.6 kB / 0.5867 GB, free: 32.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003966/1.378, allocations: 65.62 kB / 0.5867 GB, free: 32.92 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00597/1.384, allocations: 1.679 MB / 0.5884 GB, free: 32.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.117e-06/1.384, allocations: 0 / 0.5884 GB, free: 32.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006726/1.391, allocations: 0.8294 MB / 0.5892 GB, free: 32.17 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (178): * Single equations (assignments): 173 * 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 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001396/1.392, allocations: 389.1 kB / 0.5896 GB, free: 32.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01218/1.405, allocations: 3.703 MB / 0.5932 GB, free: 30.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/1.405, allocations: 3.062 kB / 0.5932 GB, free: 30.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008036/1.413, allocations: 2.393 MB / 0.5955 GB, free: 29.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007932/1.421, allocations: 0.7394 MB / 0.5962 GB, free: 29.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02066/1.441, allocations: 6.424 MB / 0.6025 GB, free: 26.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00327/1.445, allocations: 2.848 MB / 0.6053 GB, free: 25.19 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002895/1.448, allocations: 0.6759 MB / 0.6059 GB, free: 24.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000865/1.449, allocations: 177.3 kB / 0.6061 GB, free: 24.55 MB / 394.7 MB Notification: Performance of SimCode: time 1.994e-06/1.449, allocations: 4 kB / 0.6061 GB, free: 24.55 MB / 394.7 MB Notification: Performance of Templates: time 0.1552/1.604, allocations: 46.21 MB / 0.6512 GB, free: 6.543 MB / 410.7 MB