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_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 1.993/1.993, allocations: 225.8 MB / 239.4 MB, free: 1.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.756e-05/2.764e-05, allocations: 4 kB / 292.7 MB, free: 11.49 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08958/0.08963, allocations: 50.42 MB / 343.1 MB, free: 9.078 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.373/0.4627, allocations: 92.6 MB / 435.7 MB, free: 5.922 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.463, allocations: 82.11 kB / 435.8 MB, free: 5.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.28/0.743, allocations: 74.69 MB / 0.4985 GB, free: 9.977 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.7431, allocations: 0 / 0.4985 GB, free: 9.977 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000308/0.7434, allocations: 87.88 kB / 0.4986 GB, free: 9.891 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.009317/0.7527, allocations: 2.904 MB / 0.5014 GB, free: 6.926 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.7528, allocations: 8.031 kB / 0.5014 GB, free: 6.918 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002073/0.7549, allocations: 395.8 kB / 0.5018 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006481/0.7614, allocations: 2.166 MB / 0.5039 GB, free: 4.305 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000316/0.7617, allocations: 225.8 kB / 0.5041 GB, free: 4.082 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001041/0.7628, allocations: 284 kB / 0.5044 GB, free: 3.805 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01145/0.7743, allocations: 4.005 MB / 0.5083 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-05/0.7744, allocations: 7.953 kB / 0.5083 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005708/0.775, allocations: 128 kB / 0.5084 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002064/0.7752, allocations: 133.9 kB / 0.5086 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008963/0.7842, allocations: 3.057 MB / 0.5115 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02667/0.8109, allocations: 11.02 MB / 0.5223 GB, free: 1.102 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003975/0.8149, allocations: 2.577 MB / 0.5248 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003261/0.8182, allocations: 1.452 MB / 0.5262 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003986/0.8186, allocations: 138 kB / 0.5264 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/0.8187, allocations: 47.5 kB / 0.5264 GB, free: 12.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=128): time 4.914e-06/0.8187, allocations: 0 / 0.5264 GB, free: 12.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=133): time 0.0112/0.8299, allocations: 4.367 MB / 0.5307 GB, free: 8.219 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/0.83, allocations: 98.36 kB / 0.5308 GB, free: 8.105 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003742/0.8338, allocations: 1.702 MB / 0.5324 GB, free: 6.402 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002685/0.8341, allocations: 49.7 kB / 0.5325 GB, free: 6.348 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001388/0.8355, allocations: 1.315 MB / 0.5338 GB, free: 5.016 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006992/0.8362, allocations: 453.4 kB / 0.5342 GB, free: 4.566 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.8364, allocations: 32 kB / 0.5342 GB, free: 4.535 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002427/0.8366, allocations: 369.9 kB / 0.5346 GB, free: 4.168 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001736/0.8384, allocations: 0.777 MB / 0.5353 GB, free: 3.391 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002025/0.8404, allocations: 1.126 MB / 0.5364 GB, free: 2.121 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002088/0.8425, allocations: 0.9808 MB / 0.5374 GB, free: 1.141 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.8426, allocations: 4 kB / 0.5374 GB, free: 1.137 MB / 426.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005955/0.8485, allocations: 2.414 MB / 0.5398 GB, free: 14.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.8486, allocations: 12.16 kB / 0.5398 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-05/0.8487, allocations: 15.94 kB / 0.5398 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001371/0.85, allocations: 363.9 kB / 0.5401 GB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001984/0.852, allocations: 327.5 kB / 0.5404 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007536/0.8596, allocations: 4.041 MB / 0.5444 GB, free: 9.836 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/0.8616, allocations: 83.89 kB / 0.5445 GB, free: 9.754 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002818/0.8619, allocations: 63.98 kB / 0.5445 GB, free: 9.691 MB / 442.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.0004262/0.8623, allocations: 192.4 kB / 0.5447 GB, free: 9.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006396/0.863, allocations: 193.7 kB / 0.5449 GB, free: 9.309 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005062/0.8681, allocations: 2.102 MB / 0.547 GB, free: 7.188 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-05/0.8681, allocations: 12 kB / 0.547 GB, free: 7.176 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.8682, allocations: 7.984 kB / 0.547 GB, free: 7.168 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/0.8682, allocations: 3.984 kB / 0.547 GB, free: 7.164 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/0.8814, allocations: 5.167 MB / 0.552 GB, free: 1.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.049e-05/0.8815, allocations: 7.938 kB / 0.552 GB, free: 1.902 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001486/0.883, allocations: 227.7 kB / 0.5522 GB, free: 1.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/0.8844, allocations: 340.7 kB / 0.5526 GB, free: 1.344 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001894/0.8846, allocations: 39.98 kB / 0.5526 GB, free: 1.305 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2557/1.14, allocations: 3.932 MB / 0.5565 GB, free: 94.97 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/1.14, allocations: 9.844 kB / 0.5565 GB, free: 94.97 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00688/1.147, allocations: 3.276 MB / 0.5597 GB, free: 94.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/1.149, allocations: 464.5 kB / 0.5601 GB, free: 94.51 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004152/1.149, allocations: 27.44 kB / 0.5601 GB, free: 94.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/1.15, allocations: 105.7 kB / 0.5602 GB, free: 94.51 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002896/1.151, allocations: 101 kB / 0.5603 GB, free: 94.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/1.151, allocations: 41.38 kB / 0.5604 GB, free: 94.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00294/1.154, allocations: 1.315 MB / 0.5616 GB, free: 94.39 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.05e-06/1.154, allocations: 0 / 0.5616 GB, free: 94.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002724/1.157, allocations: 0.5713 MB / 0.5622 GB, free: 94.39 MB / 442.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.0005348/1.157, allocations: 223.6 kB / 0.5624 GB, free: 94.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004296/1.161, allocations: 2.191 MB / 0.5646 GB, free: 94.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.56e-06/1.162, allocations: 1.156 kB / 0.5646 GB, free: 94.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002472/1.164, allocations: 1.272 MB / 0.5658 GB, free: 93.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00267/1.167, allocations: 490.9 kB / 0.5663 GB, free: 93.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009982/1.177, allocations: 4.622 MB / 0.5708 GB, free: 92.81 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002703/1.179, allocations: 2.475 MB / 0.5732 GB, free: 92.06 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002161/1.182, allocations: 492.9 kB / 0.5737 GB, free: 92.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005853/1.182, allocations: 128.5 kB / 0.5738 GB, free: 92.04 MB / 442.7 MB Notification: Performance of SimCode: time 1.72e-06/1.182, allocations: 0 / 0.5738 GB, free: 92.04 MB / 442.7 MB Notification: Performance of Templates: time 0.06928/1.252, allocations: 28.85 MB / 0.602 GB, free: 91 MB / 442.7 MB