Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadModel(Modelica): time 2.051/2.051, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.384e-05/4.393e-05, allocations: 4 kB / 292.7 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1427, allocations: 50.41 MB / 343.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4512/0.594, allocations: 112.3 MB / 455.3 MB, free: 14.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.5943, allocations: 87.39 kB / 455.4 MB, free: 14.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7195/1.314, allocations: 93.8 MB / 0.5364 GB, free: 90.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.684e-06/1.314, allocations: 0 / 0.5364 GB, free: 90.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000429/1.314, allocations: 97.25 kB / 0.5365 GB, free: 90.88 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01168/1.326, allocations: 3.556 MB / 0.5399 GB, free: 89.69 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/1.326, allocations: 9.031 kB / 0.5399 GB, free: 89.69 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002945/1.329, allocations: 0.5085 MB / 0.5404 GB, free: 89.46 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00753/1.337, allocations: 2.553 MB / 0.5429 GB, free: 88.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003611/1.337, allocations: 261.8 kB / 0.5432 GB, free: 88.92 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00142/1.338, allocations: 358.3 kB / 0.5435 GB, free: 88.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01363/1.352, allocations: 4.789 MB / 0.5482 GB, free: 88.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001509/1.352, allocations: 10.06 kB / 0.5482 GB, free: 88.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009215/1.353, allocations: 150.4 kB / 0.5483 GB, free: 88.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000203/1.353, allocations: 178.6 kB / 0.5485 GB, free: 88.42 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/1.364, allocations: 3.848 MB / 0.5523 GB, free: 88.41 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0328/1.397, allocations: 14.95 MB / 0.5669 GB, free: 85.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005676/1.403, allocations: 4.132 MB / 0.5709 GB, free: 82.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003614/1.406, allocations: 1.825 MB / 0.5727 GB, free: 81.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003969/1.407, allocations: 155.1 kB / 0.5728 GB, free: 81.84 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/1.407, allocations: 56.38 kB / 0.5729 GB, free: 81.78 MB / 442.7 MB Notification: Performance of pre-optimization done (n=201): time 5.873e-06/1.407, allocations: 0 / 0.5729 GB, free: 81.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=221): time 0.02204/1.429, allocations: 8.333 MB / 0.581 GB, free: 78.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/1.429, allocations: 75.38 kB / 0.5811 GB, free: 78.56 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004715/1.434, allocations: 2.189 MB / 0.5832 GB, free: 77.71 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004401/1.434, allocations: 63.61 kB / 0.5833 GB, free: 77.66 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001138/1.435, allocations: 1.602 MB / 0.5849 GB, free: 76.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008268/1.436, allocations: 0.7375 MB / 0.5856 GB, free: 75.86 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/1.436, allocations: 43.25 kB / 0.5856 GB, free: 75.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/1.436, allocations: 399.5 kB / 0.586 GB, free: 75.48 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002335/1.439, allocations: 1.242 MB / 0.5872 GB, free: 75.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002641/1.441, allocations: 1.65 MB / 0.5888 GB, free: 74.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002965/1.444, allocations: 1.486 MB / 0.5903 GB, free: 73.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/1.445, allocations: 3.531 kB / 0.5903 GB, free: 73.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.00873/1.453, allocations: 3.881 MB / 0.5941 GB, free: 72.13 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/1.453, allocations: 11.31 kB / 0.5941 GB, free: 72.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/1.453, allocations: 14.48 kB / 0.5941 GB, free: 72.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002457/1.456, allocations: 0.7609 MB / 0.5948 GB, free: 71.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003248/1.459, allocations: 0.5314 MB / 0.5954 GB, free: 71.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01162/1.471, allocations: 8.706 MB / 0.6039 GB, free: 65.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002731/1.474, allocations: 120.3 kB / 0.604 GB, free: 65.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004396/1.474, allocations: 83.03 kB / 0.6041 GB, free: 65.74 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.0005763/1.475, allocations: 244.4 kB / 0.6043 GB, free: 65.55 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008107/1.475, allocations: 275.6 kB / 0.6045 GB, free: 65.42 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007844/1.483, allocations: 3.638 MB / 0.6081 GB, free: 64.02 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.497e-05/1.483, allocations: 24.34 kB / 0.6081 GB, free: 64.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.771e-05/1.483, allocations: 6.281 kB / 0.6081 GB, free: 64.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.953e-05/1.483, allocations: 10.83 kB / 0.6081 GB, free: 64.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01873/1.502, allocations: 7.935 MB / 0.6159 GB, free: 60.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.778e-05/1.502, allocations: 10.75 kB / 0.6159 GB, free: 60.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002546/1.505, allocations: 396.9 kB / 0.6163 GB, free: 60.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003091/1.508, allocations: 0.8049 MB / 0.6171 GB, free: 59.88 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003766/1.508, allocations: 59.08 kB / 0.6171 GB, free: 59.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01263/1.521, allocations: 10.21 MB / 0.6271 GB, free: 49.96 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/1.521, allocations: 4 kB / 0.6271 GB, free: 49.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/1.532, allocations: 5.613 MB / 0.6326 GB, free: 44.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002105/1.534, allocations: 0.6368 MB / 0.6332 GB, free: 44.29 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007762/1.535, allocations: 51.61 kB / 0.6333 GB, free: 44.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002035/1.537, allocations: 125 kB / 0.6334 GB, free: 44.15 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005214/1.537, allocations: 194.7 kB / 0.6336 GB, free: 44.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002251/1.537, allocations: 63.66 kB / 0.6336 GB, free: 43.97 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003308/1.541, allocations: 1.681 MB / 0.6353 GB, free: 42.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.246e-06/1.541, allocations: 0 / 0.6353 GB, free: 42.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003997/1.545, allocations: 0.8281 MB / 0.6361 GB, free: 41.62 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.0007873/1.546, allocations: 396.7 kB / 0.6364 GB, free: 41.29 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006824/1.552, allocations: 3.707 MB / 0.6401 GB, free: 37.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.69e-06/1.552, allocations: 6.438 kB / 0.6401 GB, free: 37.87 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004685/1.557, allocations: 2.39 MB / 0.6424 GB, free: 35.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004635/1.562, allocations: 0.7418 MB / 0.6431 GB, free: 35.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/1.576, allocations: 6.415 MB / 0.6494 GB, free: 29.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003226/1.58, allocations: 2.847 MB / 0.6522 GB, free: 27.24 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00311/1.583, allocations: 0.6805 MB / 0.6528 GB, free: 26.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/1.584, allocations: 174.9 kB / 0.653 GB, free: 26.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.937e-06/1.584, allocations: 0 / 0.653 GB, free: 26.6 MB / 442.7 MB Notification: Performance of Templates: time 0.1084/1.692, allocations: 46.19 MB / 0.6981 GB, free: 1.512 MB / 458.7 MB