Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.i_0_s|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.Transformers.AIMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.806/1.806, allocations: 194.9 MB / 208 MB, free: 3.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.981e-05/2.991e-05, allocations: 8 kB / 255.4 MB, free: 2.664 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07758/0.07763, allocations: 44.5 MB / 299.9 MB, free: 6.102 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3693/0.447, allocations: 107.4 MB / 407.3 MB, free: 14.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/0.4473, allocations: 97.12 kB / 407.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3583/0.8057, allocations: 94.09 MB / 0.4897 GB, free: 2.352 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.417e-06/0.8057, allocations: 4 kB / 0.4897 GB, free: 2.348 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004016/0.8061, allocations: 95.86 kB / 0.4898 GB, free: 2.254 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.01152/0.8177, allocations: 3.541 MB / 0.4933 GB, free: 14.65 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.8177, allocations: 8.031 kB / 0.4933 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002805/0.8206, allocations: 0.5025 MB / 0.4938 GB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007784/0.8284, allocations: 2.544 MB / 0.4962 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003813/0.8288, allocations: 267 kB / 0.4965 GB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001354/0.8302, allocations: 359.9 kB / 0.4968 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01348/0.8437, allocations: 4.794 MB / 0.5015 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001262/0.8438, allocations: 11.91 kB / 0.5015 GB, free: 5.973 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005814/0.8444, allocations: 156 kB / 0.5017 GB, free: 5.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000241/0.8447, allocations: 171.1 kB / 0.5018 GB, free: 5.652 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01123/0.8559, allocations: 3.868 MB / 0.5056 GB, free: 1.781 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2622/1.118, allocations: 14.95 MB / 0.5202 GB, free: 57.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005615/1.124, allocations: 4.124 MB / 0.5242 GB, free: 55.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003568/1.127, allocations: 1.841 MB / 0.526 GB, free: 55.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003811/1.128, allocations: 148.5 kB / 0.5262 GB, free: 55.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/1.128, allocations: 60.03 kB / 0.5262 GB, free: 55.69 MB / 394.7 MB Notification: Performance of pre-optimization done (n=201): time 6.116e-06/1.128, allocations: 0 / 0.5262 GB, free: 55.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=221): time 0.02312/1.151, allocations: 8.336 MB / 0.5344 GB, free: 54.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/1.151, allocations: 76.56 kB / 0.5345 GB, free: 54.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004537/1.156, allocations: 2.178 MB / 0.5366 GB, free: 54.37 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004391/1.156, allocations: 64.36 kB / 0.5366 GB, free: 54.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001186/1.157, allocations: 1.605 MB / 0.5382 GB, free: 53.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008152/1.158, allocations: 0.7373 MB / 0.5389 GB, free: 53.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/1.158, allocations: 41.19 kB / 0.539 GB, free: 53.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/1.159, allocations: 400 kB / 0.5394 GB, free: 53.17 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002425/1.161, allocations: 1.239 MB / 0.5406 GB, free: 53.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002853/1.164, allocations: 1.651 MB / 0.5422 GB, free: 52.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003108/1.167, allocations: 1.488 MB / 0.5436 GB, free: 52.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.882e-05/1.167, allocations: 6.406 kB / 0.5436 GB, free: 52.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.008888/1.176, allocations: 3.882 MB / 0.5474 GB, free: 52.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/1.176, allocations: 7.344 kB / 0.5474 GB, free: 52.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.687e-05/1.176, allocations: 16.84 kB / 0.5474 GB, free: 52.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002661/1.179, allocations: 0.7529 MB / 0.5482 GB, free: 52.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003193/1.182, allocations: 0.5285 MB / 0.5487 GB, free: 52.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/1.194, allocations: 8.701 MB / 0.5572 GB, free: 47.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002861/1.196, allocations: 121 kB / 0.5573 GB, free: 47.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004653/1.197, allocations: 88.62 kB / 0.5574 GB, free: 47.47 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.0005803/1.198, allocations: 240.7 kB / 0.5576 GB, free: 47.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007612/1.198, allocations: 274.8 kB / 0.5579 GB, free: 47.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007669/1.206, allocations: 3.63 MB / 0.5614 GB, free: 45.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.056e-05/1.206, allocations: 21.72 kB / 0.5615 GB, free: 45.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/1.206, allocations: 9.375 kB / 0.5615 GB, free: 45.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.689e-05/1.206, allocations: 10.83 kB / 0.5615 GB, free: 45.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01807/1.224, allocations: 7.959 MB / 0.5692 GB, free: 42.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-05/1.224, allocations: 6.562 kB / 0.5693 GB, free: 42.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00224/1.227, allocations: 399.3 kB / 0.5696 GB, free: 42.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002888/1.229, allocations: 0.804 MB / 0.5704 GB, free: 42.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003877/1.23, allocations: 58.58 kB / 0.5705 GB, free: 42.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01233/1.242, allocations: 10.21 MB / 0.5804 GB, free: 35.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.065e-06/1.242, allocations: 10.81 kB / 0.5804 GB, free: 35.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01025/1.253, allocations: 5.606 MB / 0.5859 GB, free: 32.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001915/1.255, allocations: 0.6414 MB / 0.5866 GB, free: 32.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005854/1.255, allocations: 49.92 kB / 0.5866 GB, free: 32.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001773/1.257, allocations: 124.4 kB / 0.5867 GB, free: 32.08 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004758/1.257, allocations: 185.8 kB / 0.5869 GB, free: 32.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002128/1.258, allocations: 65.44 kB / 0.587 GB, free: 32.03 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003121/1.261, allocations: 1.673 MB / 0.5886 GB, free: 31.37 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.72e-07/1.261, allocations: 2.656 kB / 0.5886 GB, free: 31.37 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003643/1.264, allocations: 0.8359 MB / 0.5894 GB, free: 31.29 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.000751/1.265, allocations: 398.2 kB / 0.5898 GB, free: 31.15 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006728/1.272, allocations: 3.704 MB / 0.5934 GB, free: 29.54 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.619e-06/1.272, allocations: 3.25 kB / 0.5934 GB, free: 29.54 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004332/1.276, allocations: 2.385 MB / 0.5957 GB, free: 28.39 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004089/1.28, allocations: 0.7402 MB / 0.5965 GB, free: 28.19 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/1.294, allocations: 6.441 MB / 0.6028 GB, free: 25.64 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003315/1.297, allocations: 2.835 MB / 0.6055 GB, free: 24.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003018/1.3, allocations: 0.6802 MB / 0.6062 GB, free: 23.72 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000784/1.301, allocations: 178.9 kB / 0.6064 GB, free: 23.55 MB / 394.7 MB Notification: Performance of SimCode: time 1.726e-06/1.301, allocations: 0 / 0.6064 GB, free: 23.55 MB / 394.7 MB Notification: Performance of Templates: time 0.1443/1.445, allocations: 46.2 MB / 0.6515 GB, free: 5.523 MB / 410.7 MB