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_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 1.935/1.935, allocations: 194.9 MB / 208 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.719e-05/2.724e-05, allocations: 0 / 255.4 MB, free: 2.691 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0769/0.07695, allocations: 44.5 MB / 299.9 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3363/0.4133, allocations: 87.77 MB / 387.7 MB, free: 20.22 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.4136, allocations: 86.84 kB / 387.7 MB, free: 20.22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2868/0.7004, allocations: 74.9 MB / 462.6 MB, free: 9.391 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.167e-06/0.7005, allocations: 0 / 462.6 MB, free: 9.391 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002761/0.7007, allocations: 91.81 kB / 462.7 MB, free: 9.301 MB / 346.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.008518/0.7093, allocations: 2.853 MB / 465.6 MB, free: 6.387 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.7093, allocations: 12.03 kB / 465.6 MB, free: 6.375 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00187/0.7112, allocations: 403.9 kB / 466 MB, free: 5.977 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006276/0.7175, allocations: 2.174 MB / 468.2 MB, free: 3.746 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002934/0.7179, allocations: 213.8 kB / 468.4 MB, free: 3.535 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001034/0.7189, allocations: 288 kB / 468.7 MB, free: 3.254 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/0.729, allocations: 4.032 MB / 472.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.63e-05/0.7291, allocations: 0 / 472.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004581/0.7296, allocations: 124 kB / 472.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001939/0.7298, allocations: 141.9 kB / 473 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008079/0.7379, allocations: 3.081 MB / 476 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02468/0.7626, allocations: 11.01 MB / 487 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003835/0.7665, allocations: 2.581 MB / 489.6 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003066/0.7696, allocations: 1.445 MB / 491.1 MB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003761/0.77, allocations: 142 kB / 491.2 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.246e-05/0.77, allocations: 55.55 kB / 491.3 MB, free: 12.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 4.894e-06/0.77, allocations: 0 / 491.3 MB, free: 12.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=133): time 0.01043/0.7805, allocations: 4.37 MB / 495.6 MB, free: 7.625 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.636e-05/0.7806, allocations: 94.41 kB / 495.7 MB, free: 7.516 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003457/0.7841, allocations: 1.69 MB / 497.4 MB, free: 5.824 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001458/0.7842, allocations: 49.7 kB / 497.5 MB, free: 5.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001316/0.7856, allocations: 1.326 MB / 498.8 MB, free: 4.426 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005233/0.7861, allocations: 457.4 kB / 499.2 MB, free: 3.973 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.7862, allocations: 24 kB / 499.3 MB, free: 3.949 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000237/0.7865, allocations: 369.9 kB / 499.6 MB, free: 3.582 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001659/0.7882, allocations: 0.7809 MB / 0.4887 GB, free: 2.801 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/0.7901, allocations: 1.115 MB / 0.4898 GB, free: 1.543 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001942/0.7921, allocations: 0.9808 MB / 0.4907 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/0.7921, allocations: 4 kB / 0.4907 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005618/0.7978, allocations: 2.417 MB / 0.4931 GB, free: 14.13 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.7978, allocations: 14.03 kB / 0.4931 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-05/0.7979, allocations: 16 kB / 0.4931 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001355/0.7992, allocations: 355.3 kB / 0.4934 GB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/0.8012, allocations: 339.5 kB / 0.4938 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007303/0.8085, allocations: 4.06 MB / 0.4977 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.8104, allocations: 87.92 kB / 0.4978 GB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/0.8106, allocations: 60 kB / 0.4979 GB, free: 9.078 MB / 394.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.0004025/0.811, allocations: 184.6 kB / 0.4981 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005284/0.8115, allocations: 193.8 kB / 0.4982 GB, free: 8.699 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004899/0.8165, allocations: 2.11 MB / 0.5003 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.547e-05/0.8165, allocations: 15.95 kB / 0.5003 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.8165, allocations: 11.94 kB / 0.5003 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/0.8166, allocations: 3.984 kB / 0.5003 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/0.8289, allocations: 5.151 MB / 0.5054 GB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-05/0.8289, allocations: 15.92 kB / 0.5054 GB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/0.8304, allocations: 223.9 kB / 0.5056 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001333/0.8317, allocations: 349 kB / 0.5059 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001319/0.8319, allocations: 35.98 kB / 0.506 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2271/1.059, allocations: 3.948 MB / 0.5098 GB, free: 73.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.437e-06/1.059, allocations: 7.531 kB / 0.5098 GB, free: 73.88 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006516/1.066, allocations: 3.269 MB / 0.513 GB, free: 73.51 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/1.067, allocations: 465.6 kB / 0.5135 GB, free: 73.42 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003579/1.067, allocations: 32.02 kB / 0.5135 GB, free: 73.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/1.069, allocations: 105.1 kB / 0.5136 GB, free: 73.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003045/1.069, allocations: 95.72 kB / 0.5137 GB, free: 73.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/1.069, allocations: 39.7 kB / 0.5137 GB, free: 73.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002575/1.072, allocations: 1.314 MB / 0.515 GB, free: 73.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.63e-07/1.072, allocations: 0 / 0.515 GB, free: 73.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002443/1.074, allocations: 0.5675 MB / 0.5156 GB, free: 73.3 MB / 394.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.0005263/1.075, allocations: 227.8 kB / 0.5158 GB, free: 73.21 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004258/1.079, allocations: 2.193 MB / 0.5179 GB, free: 72.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.017e-06/1.079, allocations: 1.375 kB / 0.5179 GB, free: 72.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002599/1.082, allocations: 1.267 MB / 0.5191 GB, free: 72.69 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003003/1.085, allocations: 490.5 kB / 0.5196 GB, free: 72.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/1.095, allocations: 4.629 MB / 0.5241 GB, free: 71.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002658/1.098, allocations: 2.478 MB / 0.5266 GB, free: 70.96 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002109/1.1, allocations: 494.6 kB / 0.527 GB, free: 70.94 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005687/1.1, allocations: 127 kB / 0.5272 GB, free: 70.94 MB / 394.7 MB Notification: Performance of SimCode: time 1.865e-06/1.1, allocations: 0 / 0.5272 GB, free: 70.94 MB / 394.7 MB Notification: Performance of Templates: time 0.06685/1.167, allocations: 28.83 MB / 0.5553 GB, free: 69.64 MB / 394.7 MB