Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 1.917/1.917, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.6e-05/2.604e-05, allocations: 0 / 292.2 MB, free: 8.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09055/0.0906, allocations: 50.41 MB / 342.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3754/0.4661, allocations: 92.85 MB / 435.4 MB, free: 1.418 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.4664, allocations: 82.45 kB / 435.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2884/0.7548, allocations: 74.69 MB / 0.4982 GB, free: 10.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.828e-06/0.7549, allocations: 0 / 0.4982 GB, free: 10.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002416/0.7551, allocations: 91.86 kB / 0.4983 GB, free: 10.56 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: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.007428/0.7625, allocations: 2.904 MB / 0.5011 GB, free: 7.598 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.7626, allocations: 8.031 kB / 0.5012 GB, free: 7.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/0.7642, allocations: 399.7 kB / 0.5015 GB, free: 7.195 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005774/0.77, allocations: 2.166 MB / 0.5036 GB, free: 4.973 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002562/0.7703, allocations: 217.8 kB / 0.5039 GB, free: 4.758 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000625/0.7709, allocations: 295.9 kB / 0.5041 GB, free: 4.469 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009195/0.7801, allocations: 4.006 MB / 0.5081 GB, free: 312 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.797e-05/0.7802, allocations: 3.953 kB / 0.5081 GB, free: 308 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004437/0.7807, allocations: 132 kB / 0.5082 GB, free: 176 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001895/0.7809, allocations: 141.9 kB / 0.5083 GB, free: 32 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007672/0.7886, allocations: 3.054 MB / 0.5113 GB, free: 12.97 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02468/0.8133, allocations: 11.01 MB / 0.522 GB, free: 1.773 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2514/1.065, allocations: 2.581 MB / 0.5246 GB, free: 96.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003713/1.068, allocations: 1.447 MB / 0.526 GB, free: 96.01 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003741/1.069, allocations: 140.5 kB / 0.5261 GB, free: 95.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/1.069, allocations: 49.72 kB / 0.5262 GB, free: 95.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=128): time 6.167e-06/1.069, allocations: 2.719 kB / 0.5262 GB, free: 95.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=133): time 0.01043/1.079, allocations: 4.367 MB / 0.5304 GB, free: 95.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/1.079, allocations: 91.38 kB / 0.5305 GB, free: 95.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00362/1.083, allocations: 1.696 MB / 0.5322 GB, free: 95.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000254/1.083, allocations: 49.22 kB / 0.5322 GB, free: 95.01 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001015/1.084, allocations: 1.314 MB / 0.5335 GB, free: 94.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005201/1.085, allocations: 460.6 kB / 0.5339 GB, free: 94.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/1.085, allocations: 29.59 kB / 0.534 GB, free: 94.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/1.085, allocations: 369.2 kB / 0.5343 GB, free: 94.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/1.087, allocations: 0.7787 MB / 0.5351 GB, free: 94.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/1.089, allocations: 1.12 MB / 0.5362 GB, free: 93.65 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002/1.091, allocations: 0.9824 MB / 0.5371 GB, free: 93.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/1.091, allocations: 3.938 kB / 0.5371 GB, free: 93.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005536/1.096, allocations: 2.416 MB / 0.5395 GB, free: 93.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/1.096, allocations: 8.219 kB / 0.5395 GB, free: 93.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.213e-05/1.096, allocations: 13.75 kB / 0.5395 GB, free: 93.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/1.098, allocations: 358.5 kB / 0.5399 GB, free: 93.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/1.1, allocations: 334.4 kB / 0.5402 GB, free: 93.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006429/1.106, allocations: 4.037 MB / 0.5441 GB, free: 92.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001892/1.108, allocations: 90.45 kB / 0.5442 GB, free: 92.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002189/1.108, allocations: 65.75 kB / 0.5443 GB, free: 92.06 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000361/1.109, allocations: 187.1 kB / 0.5445 GB, free: 91.95 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005326/1.109, allocations: 192.5 kB / 0.5446 GB, free: 91.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004392/1.114, allocations: 2.108 MB / 0.5467 GB, free: 91.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/1.114, allocations: 12.56 kB / 0.5467 GB, free: 91.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/1.114, allocations: 2.156 kB / 0.5467 GB, free: 91.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/1.114, allocations: 14.94 kB / 0.5467 GB, free: 91.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/1.124, allocations: 5.164 MB / 0.5518 GB, free: 91.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.551e-05/1.125, allocations: 3.188 kB / 0.5518 GB, free: 91.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/1.126, allocations: 228.1 kB / 0.552 GB, free: 91.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/1.127, allocations: 338.4 kB / 0.5523 GB, free: 91.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/1.127, allocations: 35.73 kB / 0.5523 GB, free: 91.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006026/1.133, allocations: 3.959 MB / 0.5562 GB, free: 89.87 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.704e-06/1.133, allocations: 2.422 kB / 0.5562 GB, free: 89.87 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006171/1.139, allocations: 3.27 MB / 0.5594 GB, free: 89.37 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/1.141, allocations: 471.6 kB / 0.5599 GB, free: 89.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004024/1.141, allocations: 27.31 kB / 0.5599 GB, free: 89.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/1.143, allocations: 107.2 kB / 0.56 GB, free: 89.08 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002562/1.143, allocations: 98.58 kB / 0.5601 GB, free: 89.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/1.143, allocations: 47.73 kB / 0.5601 GB, free: 89.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002488/1.145, allocations: 1.311 MB / 0.5614 GB, free: 88.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.78e-07/1.145, allocations: 0 / 0.5614 GB, free: 88.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002814/1.148, allocations: 0.5681 MB / 0.562 GB, free: 88.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005475/1.149, allocations: 221.1 kB / 0.5622 GB, free: 88.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004159/1.153, allocations: 2.197 MB / 0.5643 GB, free: 87.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.418e-06/1.153, allocations: 0 / 0.5643 GB, free: 87.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002354/1.155, allocations: 1.264 MB / 0.5655 GB, free: 86.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002991/1.159, allocations: 489 kB / 0.566 GB, free: 86.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/1.169, allocations: 4.625 MB / 0.5705 GB, free: 85.01 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002684/1.172, allocations: 2.486 MB / 0.573 GB, free: 83.93 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002042/1.174, allocations: 474.7 kB / 0.5734 GB, free: 83.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005892/1.175, allocations: 129.8 kB / 0.5735 GB, free: 83.91 MB / 442.7 MB Notification: Performance of SimCode: time 1.862e-06/1.175, allocations: 2.844 kB / 0.5735 GB, free: 83.91 MB / 442.7 MB Notification: Performance of Templates: time 0.07027/1.245, allocations: 28.84 MB / 0.6017 GB, free: 81.76 MB / 442.7 MB