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_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 1.863/1.863, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.442e-05/1.417e-05, allocations: 0 / 249.6 MB, free: 15.28 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2445, allocations: 44.5 MB / 294.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1302/0.3747, allocations: 87.11 MB / 381.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.375, allocations: 87.94 kB / 381.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4642/0.8393, allocations: 73.97 MB / 455.3 MB, free: 83.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.37e-06/0.8393, allocations: 0 / 455.3 MB, free: 83.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002174/0.8395, allocations: 91.56 kB / 455.4 MB, free: 83.41 MB / 362.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.005855/0.8454, allocations: 2.867 MB / 458.2 MB, free: 82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.8455, allocations: 11.19 kB / 458.3 MB, free: 82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.8467, allocations: 397.2 kB / 458.6 MB, free: 81.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004646/0.8513, allocations: 2.168 MB / 460.8 MB, free: 80.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.8515, allocations: 98.53 kB / 460.9 MB, free: 80.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004753/0.852, allocations: 169.2 kB / 461.1 MB, free: 80.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00592/0.8579, allocations: 2.944 MB / 464 MB, free: 79.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006901/0.8648, allocations: 3.637 MB / 467.7 MB, free: 77.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.406e-05/0.8649, allocations: 0 / 467.7 MB, free: 77.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003458/0.8653, allocations: 5.688 kB / 467.7 MB, free: 77.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001297/0.8654, allocations: 140.3 kB / 467.8 MB, free: 77.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01775/0.8832, allocations: 10.41 MB / 478.2 MB, free: 68.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002546/0.8857, allocations: 2.536 MB / 480.7 MB, free: 66.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002158/0.8879, allocations: 1.343 MB / 482.1 MB, free: 64.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000296/0.8882, allocations: 142.3 kB / 482.2 MB, free: 64.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.8883, allocations: 43.88 kB / 482.3 MB, free: 64.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=128): time 4.734e-06/0.8883, allocations: 4 kB / 482.3 MB, free: 64.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=133): time 0.008283/0.8966, allocations: 4.185 MB / 486.5 MB, free: 60.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.8967, allocations: 94.41 kB / 486.6 MB, free: 60.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002266/0.8989, allocations: 1.421 MB / 488 MB, free: 58.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.8991, allocations: 29.7 kB / 488 MB, free: 58.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006317/0.8997, allocations: 1.283 MB / 489.3 MB, free: 57.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003115/0.9, allocations: 437.4 kB / 489.7 MB, free: 57.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.9001, allocations: 0 / 489.7 MB, free: 57.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.9003, allocations: 370.8 kB / 490.1 MB, free: 56.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.9015, allocations: 0.7535 MB / 490.8 MB, free: 55.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/0.9029, allocations: 1.095 MB / 491.9 MB, free: 54.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.9045, allocations: 0.9548 MB / 492.9 MB, free: 53.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.209e-06/0.9045, allocations: 4 kB / 492.9 MB, free: 53.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004057/0.9086, allocations: 2.185 MB / 495.1 MB, free: 51.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.9086, allocations: 10.19 kB / 495.1 MB, free: 51.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.255e-05/0.9087, allocations: 16 kB / 495.1 MB, free: 51.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.9098, allocations: 351.2 kB / 495.4 MB, free: 51.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/0.9114, allocations: 331.5 kB / 495.8 MB, free: 50.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005285/0.9167, allocations: 3.919 MB / 499.7 MB, free: 46.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.9181, allocations: 59.83 kB / 499.7 MB, free: 46.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002165/0.9184, allocations: 67.17 kB / 499.8 MB, free: 46.74 MB / 362.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.0002878/0.9187, allocations: 139.6 kB / 499.9 MB, free: 46.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004092/0.9191, allocations: 170 kB / 0.4884 GB, free: 46.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003731/0.9228, allocations: 1.991 MB / 0.4903 GB, free: 44.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.9229, allocations: 14.62 kB / 0.4903 GB, free: 44.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.539e-06/0.9229, allocations: 8 kB / 0.4903 GB, free: 44.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.9229, allocations: 7.969 kB / 0.4904 GB, free: 44.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008514/0.9315, allocations: 4.641 MB / 0.4949 GB, free: 39.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.263e-05/0.9315, allocations: 7.984 kB / 0.4949 GB, free: 39.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.9327, allocations: 231.8 kB / 0.4951 GB, free: 39.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/0.9338, allocations: 329 kB / 0.4954 GB, free: 39.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.9339, allocations: 19.92 kB / 0.4954 GB, free: 39.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00529/0.9392, allocations: 3.825 MB / 0.4992 GB, free: 35.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.977e-06/0.9393, allocations: 4.062 kB / 0.4992 GB, free: 35.19 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005455/0.9447, allocations: 3.121 MB / 0.5022 GB, free: 32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009851/0.9457, allocations: 438.9 kB / 0.5027 GB, free: 31.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003066/0.9461, allocations: 11.95 kB / 0.5027 GB, free: 31.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/0.9474, allocations: 83.95 kB / 0.5027 GB, free: 31.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002331/0.9477, allocations: 89.17 kB / 0.5028 GB, free: 31.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001802/0.9479, allocations: 43.98 kB / 0.5029 GB, free: 31.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001745/0.9496, allocations: 1.08 MB / 0.5039 GB, free: 30.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.94e-07/0.9497, allocations: 8 kB / 0.5039 GB, free: 30.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002006/0.9517, allocations: 0.5038 MB / 0.5044 GB, free: 29.74 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (103): * Single equations (assignments): 98 * 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.0004212/0.9521, allocations: 198.7 kB / 0.5046 GB, free: 29.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003386/0.9555, allocations: 2.153 MB / 0.5067 GB, free: 27.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.974e-06/0.9555, allocations: 8.438 kB / 0.5067 GB, free: 27.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00194/0.9575, allocations: 1.24 MB / 0.5079 GB, free: 26.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/0.9592, allocations: 354.9 kB / 0.5083 GB, free: 25.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009017/0.9682, allocations: 4.533 MB / 0.5127 GB, free: 21.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00239/0.9707, allocations: 2.42 MB / 0.5151 GB, free: 18.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007485/0.9714, allocations: 127.4 kB / 0.5152 GB, free: 18.57 MB / 362.7 MB Notification: Performance of SimCode: time 2.525e-06/0.9715, allocations: 0 / 0.5152 GB, free: 18.57 MB / 362.7 MB Notification: Performance of Templates: time 0.0674/1.039, allocations: 47.12 MB / 0.5612 GB, free: 3.414 MB / 394.7 MB