Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.79/1.79, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.53e-05/2.544e-05, allocations: 0 / 225 MB, free: 2.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2705, allocations: 38.78 MB / 263.8 MB, free: 9.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1572/0.4277, allocations: 102.1 MB / 365.9 MB, free: 3.543 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/0.428, allocations: 87.89 kB / 366 MB, free: 3.457 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5045/0.9325, allocations: 94.34 MB / 460.3 MB, free: 14.6 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.211e-06/0.9326, allocations: 0 / 460.3 MB, free: 14.6 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003268/0.9329, allocations: 103.9 kB / 460.4 MB, free: 14.5 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 929 * Number of variables: 929 Notification: Performance of Generate backend data structure: time 0.009246/0.9422, allocations: 3.529 MB / 464 MB, free: 10.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.9422, allocations: 12.03 kB / 464 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002406/0.9447, allocations: 0.5063 MB / 464.5 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006267/0.951, allocations: 2.517 MB / 467 MB, free: 7.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002439/0.9513, allocations: 263 kB / 467.3 MB, free: 7.562 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009496/0.9522, allocations: 351.9 kB / 467.6 MB, free: 7.219 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01191/0.9641, allocations: 4.774 MB / 472.4 MB, free: 2.293 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001227/0.9643, allocations: 0 / 472.4 MB, free: 2.293 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005591/0.9649, allocations: 155.9 kB / 472.5 MB, free: 2.141 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001867/0.9651, allocations: 171 kB / 472.7 MB, free: 1.973 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01047/0.9756, allocations: 3.848 MB / 476.5 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03702/1.013, allocations: 14.88 MB / 491.4 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006764/1.019, allocations: 4.143 MB / 495.6 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004144/1.024, allocations: 1.831 MB / 497.4 MB, free: 8.633 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000482/1.024, allocations: 155 kB / 497.5 MB, free: 8.465 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.084e-05/1.024, allocations: 52.56 kB / 497.6 MB, free: 8.402 MB / 346.7 MB Notification: Performance of pre-optimization done (n=201): time 6.044e-06/1.024, allocations: 0 / 497.6 MB, free: 8.402 MB / 346.7 MB Notification: Performance of matching and sorting (n=221): time 0.02486/1.049, allocations: 8.325 MB / 0.4941 GB, free: 36 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2133/1.262, allocations: 70.97 kB / 0.4941 GB, free: 57.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005391/1.268, allocations: 2.16 MB / 0.4962 GB, free: 57.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004262/1.268, allocations: 63.95 kB / 0.4963 GB, free: 57.24 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001205/1.27, allocations: 1.584 MB / 0.4978 GB, free: 57.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008404/1.27, allocations: 0.7421 MB / 0.4986 GB, free: 56.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/1.271, allocations: 44.41 kB / 0.4986 GB, free: 56.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/1.271, allocations: 397.8 kB / 0.499 GB, free: 56.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002395/1.273, allocations: 1.239 MB / 0.5002 GB, free: 56.49 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00268/1.276, allocations: 1.649 MB / 0.5018 GB, free: 56.06 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002753/1.279, allocations: 1.487 MB / 0.5033 GB, free: 56.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/1.279, allocations: 6.578 kB / 0.5033 GB, free: 56.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.008047/1.287, allocations: 3.874 MB / 0.5071 GB, free: 55.78 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/1.287, allocations: 14.02 kB / 0.5071 GB, free: 55.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.579e-05/1.287, allocations: 20.22 kB / 0.5071 GB, free: 55.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002404/1.289, allocations: 0.7406 MB / 0.5078 GB, free: 55.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003234/1.293, allocations: 0.5347 MB / 0.5083 GB, free: 55.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/1.305, allocations: 8.711 MB / 0.5168 GB, free: 51.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/1.307, allocations: 122.3 kB / 0.517 GB, free: 51.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00033/1.308, allocations: 94.2 kB / 0.517 GB, free: 51.74 MB / 346.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.0005461/1.308, allocations: 234 kB / 0.5173 GB, free: 51.63 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006317/1.309, allocations: 275.8 kB / 0.5175 GB, free: 51.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00739/1.316, allocations: 3.642 MB / 0.5211 GB, free: 51.31 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/1.316, allocations: 22.12 kB / 0.5211 GB, free: 51.31 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/1.316, allocations: 7.031 kB / 0.5211 GB, free: 51.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.278e-05/1.316, allocations: 9.375 kB / 0.5211 GB, free: 51.31 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0173/1.334, allocations: 7.934 MB / 0.5289 GB, free: 50.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.658e-05/1.334, allocations: 7.609 kB / 0.5289 GB, free: 50.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002428/1.336, allocations: 394.5 kB / 0.5293 GB, free: 50.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002827/1.339, allocations: 0.8023 MB / 0.53 GB, free: 50.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003245/1.339, allocations: 55.61 kB / 0.5301 GB, free: 50.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01247/1.352, allocations: 10.21 MB / 0.5401 GB, free: 43.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.48e-06/1.352, allocations: 3.656 kB / 0.5401 GB, free: 43.36 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009971/1.362, allocations: 5.613 MB / 0.5455 GB, free: 40.86 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001974/1.364, allocations: 0.6457 MB / 0.5462 GB, free: 40.47 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006068/1.364, allocations: 54.69 kB / 0.5462 GB, free: 40.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/1.366, allocations: 134.8 kB / 0.5464 GB, free: 40.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000504/1.367, allocations: 175.1 kB / 0.5465 GB, free: 40.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002184/1.367, allocations: 65.19 kB / 0.5466 GB, free: 40.37 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003942/1.371, allocations: 1.661 MB / 0.5482 GB, free: 39.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.422e-06/1.371, allocations: 3.062 kB / 0.5482 GB, free: 39.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004143/1.375, allocations: 0.8328 MB / 0.549 GB, free: 39.63 MB / 346.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.0007725/1.376, allocations: 391.7 kB / 0.5494 GB, free: 39.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007191/1.383, allocations: 3.706 MB / 0.553 GB, free: 37.9 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.205e-06/1.383, allocations: 0 / 0.553 GB, free: 37.9 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004837/1.388, allocations: 2.395 MB / 0.5554 GB, free: 36.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004631/1.393, allocations: 0.7218 MB / 0.5561 GB, free: 36.56 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/1.407, allocations: 6.408 MB / 0.5623 GB, free: 34.15 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003265/1.41, allocations: 2.836 MB / 0.5651 GB, free: 33.01 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00313/1.413, allocations: 0.6752 MB / 0.5657 GB, free: 32.95 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008527/1.414, allocations: 178.1 kB / 0.5659 GB, free: 32.93 MB / 346.7 MB Notification: Performance of SimCode: time 1.837e-06/1.414, allocations: 0 / 0.5659 GB, free: 32.93 MB / 346.7 MB Notification: Performance of Templates: time 0.09959/1.514, allocations: 45.87 MB / 0.6107 GB, free: 15.37 MB / 362.7 MB