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.729/1.729, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.308e-05/3.316e-05, allocations: 4 kB / 228.1 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08646/0.08652, allocations: 38.77 MB / 266.9 MB, free: 476 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01061/0.09718, allocations: 6.318 MB / 273.2 MB, free: 10.11 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006145/0.1034, allocations: 2.393 MB / 275.6 MB, free: 7.707 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009161/0.1043, allocations: 71.69 kB / 275.7 MB, free: 7.637 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.1056, allocations: 449.5 kB / 276.1 MB, free: 7.195 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001877/0.1075, allocations: 0.545 MB / 276.7 MB, free: 6.648 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008593/0.1084, allocations: 263.6 kB / 276.9 MB, free: 6.391 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00329/0.1117, allocations: 1.653 MB / 278.6 MB, free: 4.734 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00346/0.1152, allocations: 1.849 MB / 280.4 MB, free: 2.871 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/0.1174, allocations: 0.9156 MB / 281.4 MB, free: 1.953 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002594/0.12, allocations: 1.195 MB / 282.6 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.1211, allocations: 207.9 kB / 282.8 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005566/0.1217, allocations: 120 kB / 282.9 MB, free: 444 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001378/0.1231, allocations: 0.7984 MB / 283.7 MB, free: 15.63 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009799/0.1241, allocations: 276 kB / 283.9 MB, free: 15.36 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007571/0.1317, allocations: 4.85 MB / 288.8 MB, free: 10.5 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1318, allocations: 0 / 288.8 MB, free: 10.5 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.607e-06/0.1318, allocations: 0 / 288.8 MB, free: 10.5 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001781/0.132, allocations: 0 / 288.8 MB, free: 10.5 MB / 250.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.01011/0.1421, allocations: 2.889 MB / 291.7 MB, free: 7.551 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.1422, allocations: 8.031 kB / 291.7 MB, free: 7.543 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/0.1442, allocations: 391.8 kB / 292.1 MB, free: 7.156 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005271/0.1495, allocations: 1.811 MB / 293.9 MB, free: 5.289 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003073/0.1498, allocations: 221.8 kB / 294.1 MB, free: 5.07 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001105/0.151, allocations: 284 kB / 294.4 MB, free: 4.793 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01338/0.1644, allocations: 4.14 MB / 298.5 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.462e-05/0.1645, allocations: 4 kB / 298.5 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005125/0.165, allocations: 120 kB / 298.6 MB, free: 492 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002859/0.1653, allocations: 149.8 kB / 298.8 MB, free: 340 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.227/0.3923, allocations: 3.465 MB / 302.3 MB, free: 26.21 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02954/0.4219, allocations: 10.91 MB / 313.2 MB, free: 20.21 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004343/0.4263, allocations: 2.639 MB / 315.8 MB, free: 18.15 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003722/0.4267, allocations: 124.5 kB / 315.9 MB, free: 18.05 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/0.4268, allocations: 54.31 kB / 316 MB, free: 17.99 MB / 250.7 MB Notification: Performance of pre-optimization done (n=128): time 5.04e-06/0.4268, allocations: 0 / 316 MB, free: 17.99 MB / 250.7 MB Notification: Performance of matching and sorting (n=132): time 0.01356/0.4404, allocations: 5.549 MB / 321.5 MB, free: 14.4 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.4405, allocations: 94.42 kB / 321.6 MB, free: 14.29 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003119/0.4436, allocations: 1.595 MB / 323.2 MB, free: 12.69 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002614/0.4439, allocations: 49.7 kB / 323.3 MB, free: 12.64 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.445, allocations: 1.307 MB / 324.6 MB, free: 11.32 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005896/0.4456, allocations: 451.8 kB / 325 MB, free: 10.88 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.4457, allocations: 32.78 kB / 325 MB, free: 10.85 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4458, allocations: 373.8 kB / 325.4 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001947/0.4478, allocations: 0.8237 MB / 326.2 MB, free: 9.652 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002078/0.4499, allocations: 1.186 MB / 327.4 MB, free: 8.312 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002234/0.4521, allocations: 1.025 MB / 328.4 MB, free: 7.289 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.4522, allocations: 4 kB / 328.4 MB, free: 7.285 MB / 250.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.006273/0.4585, allocations: 2.563 MB / 331 MB, free: 4.711 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.4585, allocations: 13.41 kB / 331 MB, free: 4.699 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/0.4585, allocations: 8 kB / 331 MB, free: 4.691 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002846/0.4614, allocations: 488.5 kB / 331.5 MB, free: 4.211 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002523/0.464, allocations: 339 kB / 331.8 MB, free: 3.883 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007768/0.4717, allocations: 4.36 MB / 336.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/0.4739, allocations: 91.83 kB / 336.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/0.4742, allocations: 58.58 kB / 336.3 MB, free: 15.23 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 149 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002683/0.4769, allocations: 1.036 MB / 337.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000669/0.4775, allocations: 193.7 kB / 337.6 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006102/0.4837, allocations: 2.186 MB / 339.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.334e-05/0.4838, allocations: 16 kB / 339.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.4838, allocations: 8 kB / 339.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.301e-05/0.4838, allocations: 9.75 kB / 339.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01421/0.498, allocations: 5.111 MB / 344.9 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/0.4981, allocations: 0 / 344.9 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002083/0.5002, allocations: 219.7 kB / 345.1 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003066/0.5033, allocations: 468.3 kB / 345.6 MB, free: 5.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002288/0.5036, allocations: 28.84 kB / 345.6 MB, free: 5.902 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008766/0.5124, allocations: 4.312 MB / 349.9 MB, free: 1.465 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.296e-05/0.5124, allocations: 4.031 kB / 349.9 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008599/0.521, allocations: 3.301 MB / 353.2 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001327/0.5224, allocations: 458.7 kB / 353.7 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004309/0.5229, allocations: 33.14 kB / 353.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/0.5245, allocations: 104 kB / 353.8 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003199/0.5248, allocations: 97.92 kB / 353.9 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/0.525, allocations: 39.98 kB / 353.9 MB, free: 13.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.002855/0.5279, allocations: 1.244 MB / 355.2 MB, free: 12.14 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5279, allocations: 0 / 355.2 MB, free: 12.14 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002471/0.5304, allocations: 0.5364 MB / 355.7 MB, free: 11.61 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (98): * Single equations (assignments): 93 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006184/0.531, allocations: 184.6 kB / 355.9 MB, free: 11.44 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.005875/0.5369, allocations: 2.23 MB / 358.1 MB, free: 9.199 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.5369, allocations: 0 / 358.1 MB, free: 9.199 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003279/0.5402, allocations: 1.228 MB / 359.3 MB, free: 7.965 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003393/0.5436, allocations: 466.3 kB / 359.8 MB, free: 7.512 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/0.5588, allocations: 6.602 MB / 366.4 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003291/0.5621, allocations: 2.469 MB / 368.9 MB, free: 14.37 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.002426/0.5646, allocations: 478.9 kB / 369.3 MB, free: 13.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006603/0.5653, allocations: 123.4 kB / 369.5 MB, free: 13.78 MB / 298.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5653, allocations: 0 / 369.5 MB, free: 13.78 MB / 298.7 MB Notification: Performance of Templates: time 0.09026/0.6556, allocations: 26.36 MB / 395.8 MB, free: 3.473 MB / 314.7 MB