Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 1.788/1.788, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.823e-05/2.836e-05, allocations: 8 kB / 225 MB, free: 2.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.228, allocations: 38.77 MB / 263.8 MB, free: 9.828 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1497/0.3777, allocations: 82.41 MB / 346.2 MB, free: 7.289 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.3781, allocations: 79.95 kB / 346.3 MB, free: 7.211 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5293/0.9074, allocations: 75.08 MB / 421.4 MB, free: 51.31 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.747e-06/0.9075, allocations: 4 kB / 421.4 MB, free: 51.31 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002263/0.9077, allocations: 83.88 kB / 421.4 MB, free: 51.23 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: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.007283/0.915, allocations: 2.863 MB / 424.3 MB, free: 48.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.915, allocations: 8.031 kB / 424.3 MB, free: 48.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/0.9167, allocations: 400 kB / 424.7 MB, free: 47.9 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00458/0.9213, allocations: 1.981 MB / 426.7 MB, free: 45.87 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.9215, allocations: 221.8 kB / 426.9 MB, free: 45.65 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006581/0.9221, allocations: 284 kB / 427.2 MB, free: 45.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008743/0.9309, allocations: 4.021 MB / 431.2 MB, free: 41.19 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.681e-05/0.931, allocations: 0 / 431.2 MB, free: 41.19 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004145/0.9314, allocations: 128 kB / 431.3 MB, free: 41.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001456/0.9316, allocations: 141.8 kB / 431.5 MB, free: 40.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007428/0.939, allocations: 3.085 MB / 434.5 MB, free: 37.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02149/0.9606, allocations: 10.91 MB / 445.5 MB, free: 26.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002891/0.9635, allocations: 2.57 MB / 448 MB, free: 23.94 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0026/0.9661, allocations: 1.461 MB / 449.5 MB, free: 22.49 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003157/0.9665, allocations: 138 kB / 449.6 MB, free: 22.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.9665, allocations: 55.5 kB / 449.7 MB, free: 22.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 4.785e-06/0.9665, allocations: 0 / 449.7 MB, free: 22.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=133): time 0.008984/0.9755, allocations: 4.367 MB / 454 MB, free: 17.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.9756, allocations: 90.42 kB / 454.1 MB, free: 17.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002676/0.9783, allocations: 1.591 MB / 455.7 MB, free: 16.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001762/0.9785, allocations: 49.64 kB / 455.8 MB, free: 16.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007769/0.9793, allocations: 1.306 MB / 457.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000359/0.9797, allocations: 457.4 kB / 457.5 MB, free: 14.31 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.9798, allocations: 28 kB / 457.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.9799, allocations: 365.9 kB / 457.9 MB, free: 13.92 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/0.9813, allocations: 0.777 MB / 458.7 MB, free: 13.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/0.9829, allocations: 1.122 MB / 459.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.9846, allocations: 0.9808 MB / 460.8 MB, free: 10.9 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.145e-06/0.9846, allocations: 4 kB / 460.8 MB, free: 10.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004854/0.9895, allocations: 2.414 MB / 463.2 MB, free: 8.473 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.9895, allocations: 12 kB / 463.2 MB, free: 8.461 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.904e-05/0.9896, allocations: 12 kB / 463.2 MB, free: 8.449 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.9908, allocations: 359.3 kB / 463.6 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/0.9926, allocations: 343.5 kB / 463.9 MB, free: 7.762 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005891/0.9986, allocations: 4.039 MB / 468 MB, free: 3.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/1, allocations: 91.83 kB / 468 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001765/1.001, allocations: 63.94 kB / 468.1 MB, free: 3.438 MB / 314.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.0003269/1.001, allocations: 196.5 kB / 468.3 MB, free: 3.238 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004515/1.001, allocations: 185.8 kB / 468.5 MB, free: 3.055 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004096/1.005, allocations: 2.106 MB / 470.6 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/1.005, allocations: 12 kB / 470.6 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.995e-06/1.006, allocations: 4 kB / 470.6 MB, free: 0.918 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/1.006, allocations: 11.97 kB / 470.6 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/1.017, allocations: 5.108 MB / 475.7 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.89e-05/1.017, allocations: 7.984 kB / 475.7 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/1.019, allocations: 227.9 kB / 476 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001334/1.02, allocations: 344.5 kB / 476.3 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/1.02, allocations: 35.98 kB / 476.3 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007295/1.028, allocations: 3.964 MB / 480.3 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/1.028, allocations: 4.031 kB / 480.3 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007044/1.035, allocations: 3.272 MB / 483.6 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001328/1.036, allocations: 462.7 kB / 484 MB, free: 3.152 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003216/1.036, allocations: 28 kB / 484 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/1.038, allocations: 108 kB / 484.1 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002909/1.038, allocations: 100.8 kB / 484.2 MB, free: 2.922 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/1.038, allocations: 36 kB / 484.3 MB, free: 2.887 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002606/1.041, allocations: 1.228 MB / 485.5 MB, free: 1.664 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.109e-06/1.041, allocations: 4 kB / 485.5 MB, free: 1.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002542/1.043, allocations: 0.5585 MB / 486.1 MB, free: 1.102 MB / 330.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.0005134/1.044, allocations: 206.8 kB / 486.3 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005051/1.049, allocations: 2.185 MB / 488.5 MB, free: 14.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.62e-06/1.049, allocations: 0 / 488.5 MB, free: 14.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002935/1.052, allocations: 1.272 MB / 489.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002978/1.055, allocations: 486.3 kB / 490.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/1.067, allocations: 4.497 MB / 494.7 MB, free: 8.316 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003847/1.071, allocations: 2.469 MB / 497.2 MB, free: 5.816 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002202/1.073, allocations: 474.9 kB / 497.6 MB, free: 5.348 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005753/1.074, allocations: 111.4 kB / 497.7 MB, free: 5.242 MB / 346.7 MB Notification: Performance of SimCode: time 1.771e-06/1.074, allocations: 8 kB / 497.8 MB, free: 5.234 MB / 346.7 MB Notification: Performance of Templates: time 0.2626/1.336, allocations: 27.3 MB / 0.5127 GB, free: 79.24 MB / 346.7 MB