Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_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.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadModel(Modelica): time 2.11/2.11, allocations: 225.8 MB / 239.4 MB, free: 1.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.138e-05/3.155e-05, allocations: 4 kB / 292.7 MB, free: 11.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0935/0.09355, allocations: 50.41 MB / 343.1 MB, free: 9.09 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4049/0.4985, allocations: 112.1 MB / 455.2 MB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.4988, allocations: 85.77 kB / 455.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3615/0.8603, allocations: 93.97 MB / 0.5363 GB, free: 3.031 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.639e-06/0.8603, allocations: 0 / 0.5363 GB, free: 3.031 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004165/0.8608, allocations: 99.88 kB / 0.5364 GB, free: 2.934 MB / 426.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.01164/0.8724, allocations: 3.552 MB / 0.5399 GB, free: 15.32 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.8725, allocations: 12.03 kB / 0.5399 GB, free: 15.31 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002711/0.8752, allocations: 0.5024 MB / 0.5404 GB, free: 14.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008137/0.8834, allocations: 2.552 MB / 0.5429 GB, free: 12.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004266/0.8839, allocations: 263.1 kB / 0.5432 GB, free: 11.94 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00148/0.8853, allocations: 355.9 kB / 0.5435 GB, free: 11.59 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01421/0.8996, allocations: 4.783 MB / 0.5482 GB, free: 6.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001384/0.8998, allocations: 11.94 kB / 0.5482 GB, free: 6.648 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006605/0.9004, allocations: 148 kB / 0.5483 GB, free: 6.504 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002513/0.9007, allocations: 175.1 kB / 0.5485 GB, free: 6.332 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01138/0.9121, allocations: 3.852 MB / 0.5522 GB, free: 2.477 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2898/1.202, allocations: 14.95 MB / 0.5668 GB, free: 78.03 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005409/1.207, allocations: 4.123 MB / 0.5709 GB, free: 76.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0036/1.211, allocations: 1.827 MB / 0.5727 GB, free: 76.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003623/1.211, allocations: 150.1 kB / 0.5728 GB, free: 76.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/1.211, allocations: 61.22 kB / 0.5729 GB, free: 76.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=201): time 5.873e-06/1.212, allocations: 0 / 0.5729 GB, free: 76.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=221): time 0.02111/1.233, allocations: 8.335 MB / 0.581 GB, free: 75.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/1.233, allocations: 76.69 kB / 0.5811 GB, free: 75.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004153/1.237, allocations: 2.183 MB / 0.5832 GB, free: 74.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003912/1.237, allocations: 68.08 kB / 0.5833 GB, free: 74.79 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001199/1.239, allocations: 1.599 MB / 0.5848 GB, free: 74.31 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009005/1.239, allocations: 0.7419 MB / 0.5856 GB, free: 73.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/1.24, allocations: 47.03 kB / 0.5856 GB, free: 73.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/1.24, allocations: 401.6 kB / 0.586 GB, free: 73.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002347/1.242, allocations: 1.232 MB / 0.5872 GB, free: 73.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002752/1.245, allocations: 1.653 MB / 0.5888 GB, free: 73.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002835/1.248, allocations: 1.485 MB / 0.5903 GB, free: 73.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-05/1.248, allocations: 5.469 kB / 0.5903 GB, free: 73.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.008384/1.256, allocations: 3.882 MB / 0.594 GB, free: 72.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/1.256, allocations: 7.625 kB / 0.5941 GB, free: 72.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/1.256, allocations: 16.33 kB / 0.5941 GB, free: 72.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00251/1.259, allocations: 0.7597 MB / 0.5948 GB, free: 72.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003165/1.262, allocations: 0.5334 MB / 0.5953 GB, free: 72.85 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/1.274, allocations: 8.702 MB / 0.6038 GB, free: 68.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002713/1.277, allocations: 117.6 kB / 0.6039 GB, free: 68.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004263/1.277, allocations: 85.56 kB / 0.604 GB, free: 68.86 MB / 442.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.0005488/1.278, allocations: 240.6 kB / 0.6043 GB, free: 68.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007604/1.279, allocations: 273.2 kB / 0.6045 GB, free: 68.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/1.289, allocations: 3.638 MB / 0.6081 GB, free: 67.35 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-05/1.289, allocations: 21 kB / 0.6081 GB, free: 67.35 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.09e-05/1.29, allocations: 7.062 kB / 0.6081 GB, free: 67.35 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.669e-05/1.29, allocations: 11.34 kB / 0.6081 GB, free: 67.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02897/1.319, allocations: 7.95 MB / 0.6159 GB, free: 64.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.4e-05/1.319, allocations: 7.109 kB / 0.6159 GB, free: 64.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004196/1.323, allocations: 390.9 kB / 0.6162 GB, free: 64.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005113/1.328, allocations: 0.8148 MB / 0.617 GB, free: 64.05 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004277/1.329, allocations: 56.89 kB / 0.6171 GB, free: 64.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02093/1.349, allocations: 10.21 MB / 0.6271 GB, free: 56.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/1.35, allocations: 7.672 kB / 0.6271 GB, free: 56.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01785/1.367, allocations: 5.614 MB / 0.6326 GB, free: 54.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002984/1.37, allocations: 0.634 MB / 0.6332 GB, free: 53.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001071/1.372, allocations: 51.84 kB / 0.6332 GB, free: 53.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003194/1.375, allocations: 130.1 kB / 0.6334 GB, free: 53.67 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005193/1.375, allocations: 184.4 kB / 0.6335 GB, free: 53.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002253/1.376, allocations: 65 kB / 0.6336 GB, free: 53.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003281/1.379, allocations: 1.682 MB / 0.6352 GB, free: 52.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.19e-06/1.379, allocations: 0 / 0.6352 GB, free: 52.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003998/1.383, allocations: 0.8263 MB / 0.636 GB, free: 52.88 MB / 442.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.0008453/1.384, allocations: 405.4 kB / 0.6364 GB, free: 52.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006953/1.391, allocations: 3.711 MB / 0.6401 GB, free: 51.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.637e-06/1.391, allocations: 1.75 kB / 0.6401 GB, free: 51.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004519/1.395, allocations: 2.387 MB / 0.6424 GB, free: 49.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004315/1.4, allocations: 0.733 MB / 0.6431 GB, free: 49.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/1.414, allocations: 6.435 MB / 0.6494 GB, free: 47.22 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003396/1.417, allocations: 2.846 MB / 0.6522 GB, free: 45.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002945/1.42, allocations: 0.6773 MB / 0.6528 GB, free: 45.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008847/1.421, allocations: 178.4 kB / 0.653 GB, free: 45.13 MB / 442.7 MB Notification: Performance of SimCode: time 1.762e-06/1.421, allocations: 0 / 0.653 GB, free: 45.13 MB / 442.7 MB Notification: Performance of Templates: time 0.1024/1.523, allocations: 46.19 MB / 0.6981 GB, free: 11.94 MB / 442.7 MB