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.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 1.88/1.88, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.083e-05/3.098e-05, allocations: 4 kB / 269.4 MB, free: 6.395 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08395/0.084, allocations: 47.57 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3538/0.4379, allocations: 91.98 MB / 408.9 MB, free: 12.22 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.4381, allocations: 83.52 kB / 409 MB, free: 12.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2806/0.7188, allocations: 74.19 MB / 483.2 MB, free: 8.883 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.448e-06/0.7188, allocations: 0 / 483.2 MB, free: 8.883 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000288/0.7191, allocations: 95.86 kB / 483.3 MB, free: 8.789 MB / 394.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.008768/0.7279, allocations: 2.865 MB / 486.1 MB, free: 5.863 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.728, allocations: 16.03 kB / 486.2 MB, free: 5.848 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002002/0.73, allocations: 391.8 kB / 486.5 MB, free: 5.461 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006362/0.7364, allocations: 2.174 MB / 488.7 MB, free: 3.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002953/0.7367, allocations: 217.8 kB / 488.9 MB, free: 3.016 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009039/0.7377, allocations: 288 kB / 489.2 MB, free: 2.734 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/0.7484, allocations: 4.028 MB / 493.2 MB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-05/0.7485, allocations: 0 / 493.2 MB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004779/0.749, allocations: 128 kB / 493.4 MB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001943/0.7492, allocations: 137.9 kB / 493.5 MB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009582/0.7588, allocations: 3.077 MB / 496.6 MB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03135/0.7902, allocations: 11.02 MB / 0.4957 GB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003965/0.7942, allocations: 2.573 MB / 0.4982 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003293/0.7975, allocations: 1.453 MB / 0.4996 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003883/0.7979, allocations: 138 kB / 0.4998 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.445e-05/0.798, allocations: 51.56 kB / 0.4998 GB, free: 11.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=128): time 5.247e-06/0.798, allocations: 0 / 0.4998 GB, free: 11.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=133): time 0.01101/0.809, allocations: 4.382 MB / 0.5041 GB, free: 7.094 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.996e-05/0.8092, allocations: 94.36 kB / 0.5042 GB, free: 6.984 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003636/0.8128, allocations: 1.69 MB / 0.5058 GB, free: 5.293 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002787/0.8131, allocations: 49.7 kB / 0.5059 GB, free: 5.238 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001391/0.8145, allocations: 1.322 MB / 0.5072 GB, free: 3.898 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006072/0.8152, allocations: 457.3 kB / 0.5076 GB, free: 3.445 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.8153, allocations: 32 kB / 0.5076 GB, free: 3.414 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002446/0.8156, allocations: 369.9 kB / 0.508 GB, free: 3.047 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/0.8173, allocations: 0.7731 MB / 0.5087 GB, free: 2.273 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001998/0.8193, allocations: 1.126 MB / 0.5098 GB, free: 1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002011/0.8213, allocations: 0.9769 MB / 0.5108 GB, free: 24 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.8213, allocations: 4 kB / 0.5108 GB, free: 20 kB / 426.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.2421/1.063, allocations: 2.405 MB / 0.5131 GB, free: 95.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/1.064, allocations: 12.81 kB / 0.5132 GB, free: 95.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.282e-05/1.064, allocations: 15.16 kB / 0.5132 GB, free: 95.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/1.065, allocations: 362.8 kB / 0.5135 GB, free: 95.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/1.067, allocations: 333.8 kB / 0.5138 GB, free: 95.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006867/1.074, allocations: 4.046 MB / 0.5178 GB, free: 94.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/1.076, allocations: 84.77 kB / 0.5179 GB, free: 94.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002064/1.076, allocations: 62.86 kB / 0.5179 GB, free: 94.38 MB / 426.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.0003651/1.076, allocations: 188.6 kB / 0.5181 GB, free: 94.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005577/1.077, allocations: 192.6 kB / 0.5183 GB, free: 94.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004965/1.082, allocations: 2.105 MB / 0.5203 GB, free: 94.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/1.082, allocations: 12.94 kB / 0.5204 GB, free: 94.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/1.082, allocations: 7.766 kB / 0.5204 GB, free: 94.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.203e-05/1.082, allocations: 9.562 kB / 0.5204 GB, free: 94.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/1.094, allocations: 5.163 MB / 0.5254 GB, free: 93.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-05/1.094, allocations: 9.594 kB / 0.5254 GB, free: 93.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/1.096, allocations: 231.2 kB / 0.5256 GB, free: 93.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001352/1.097, allocations: 342.6 kB / 0.526 GB, free: 93.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000139/1.097, allocations: 31.08 kB / 0.526 GB, free: 93.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005963/1.103, allocations: 3.958 MB / 0.5299 GB, free: 92.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.722e-06/1.103, allocations: 3.688 kB / 0.5299 GB, free: 92.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005968/1.109, allocations: 3.271 MB / 0.5331 GB, free: 91.87 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/1.11, allocations: 469.1 kB / 0.5335 GB, free: 91.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003688/1.111, allocations: 30.69 kB / 0.5335 GB, free: 91.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/1.112, allocations: 112.1 kB / 0.5336 GB, free: 91.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002658/1.113, allocations: 95.97 kB / 0.5337 GB, free: 91.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/1.113, allocations: 39.7 kB / 0.5338 GB, free: 91.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002417/1.115, allocations: 1.317 MB / 0.5351 GB, free: 91.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.18e-07/1.115, allocations: 0 / 0.5351 GB, free: 91.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00247/1.118, allocations: 0.5656 MB / 0.5356 GB, free: 91.56 MB / 426.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.0004974/1.118, allocations: 224.2 kB / 0.5358 GB, free: 91.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003916/1.122, allocations: 2.194 MB / 0.538 GB, free: 91.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.359e-06/1.122, allocations: 3.781 kB / 0.538 GB, free: 91.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002367/1.125, allocations: 1.264 MB / 0.5392 GB, free: 90.94 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002771/1.127, allocations: 485.7 kB / 0.5397 GB, free: 90.92 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009865/1.137, allocations: 4.633 MB / 0.5442 GB, free: 89.94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002614/1.14, allocations: 2.48 MB / 0.5466 GB, free: 89.19 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002123/1.142, allocations: 483.5 kB / 0.5471 GB, free: 89.17 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005575/1.143, allocations: 129.7 kB / 0.5472 GB, free: 89.17 MB / 426.7 MB Notification: Performance of SimCode: time 1.523e-06/1.143, allocations: 0 / 0.5472 GB, free: 89.17 MB / 426.7 MB Notification: Performance of Templates: time 0.06756/1.21, allocations: 28.86 MB / 0.5754 GB, free: 87.77 MB / 426.7 MB