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_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 1.566/1.566, allocations: 171.2 MB / 183.8 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.612e-05/2.621e-05, allocations: 4 kB / 225 MB, free: 2.824 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2724, allocations: 38.76 MB / 263.8 MB, free: 9.891 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1232/0.3956, allocations: 82.42 MB / 346.2 MB, free: 7.344 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.3959, allocations: 79.95 kB / 346.3 MB, free: 7.266 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4446/0.8405, allocations: 75.07 MB / 421.3 MB, free: 51.39 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.69e-06/0.8406, allocations: 0 / 421.3 MB, free: 51.39 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002581/0.8409, allocations: 83.88 kB / 421.4 MB, free: 51.31 MB / 314.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.008145/0.849, allocations: 2.862 MB / 424.3 MB, free: 48.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.8491, allocations: 8.031 kB / 424.3 MB, free: 48.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/0.851, allocations: 400 kB / 424.7 MB, free: 47.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004908/0.856, allocations: 1.981 MB / 426.6 MB, free: 45.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002448/0.8563, allocations: 217.8 kB / 426.9 MB, free: 45.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009191/0.8572, allocations: 288 kB / 427.1 MB, free: 45.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009453/0.8667, allocations: 4.028 MB / 431.2 MB, free: 41.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.948e-05/0.8668, allocations: 0 / 431.2 MB, free: 41.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004225/0.8672, allocations: 124 kB / 431.3 MB, free: 41.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001462/0.8674, allocations: 137.9 kB / 431.4 MB, free: 41.01 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007535/0.8749, allocations: 3.081 MB / 434.5 MB, free: 37.92 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02335/0.8983, allocations: 10.92 MB / 445.4 MB, free: 26.81 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003086/0.9014, allocations: 2.578 MB / 448 MB, free: 24.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002737/0.9042, allocations: 1.449 MB / 449.5 MB, free: 22.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003789/0.9046, allocations: 142 kB / 449.6 MB, free: 22.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.9047, allocations: 51.5 kB / 449.6 MB, free: 22.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 4.968e-06/0.9047, allocations: 0 / 449.6 MB, free: 22.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=133): time 0.009738/0.9145, allocations: 4.37 MB / 454 MB, free: 17.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.9146, allocations: 98.41 kB / 454.1 MB, free: 17.81 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002936/0.9175, allocations: 1.584 MB / 455.7 MB, free: 16.22 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002559/0.9178, allocations: 45.7 kB / 455.7 MB, free: 16.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006933/0.9185, allocations: 1.252 MB / 457 MB, free: 14.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004833/0.919, allocations: 457.3 kB / 457.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.9192, allocations: 28 kB / 457.5 MB, free: 14.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.9193, allocations: 370.8 kB / 457.8 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.9208, allocations: 0.777 MB / 458.6 MB, free: 13.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/0.9225, allocations: 1.126 MB / 459.7 MB, free: 12.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.9242, allocations: 0.9808 MB / 460.7 MB, free: 11.03 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.291e-06/0.9242, allocations: 4 kB / 460.7 MB, free: 11.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004536/0.9288, allocations: 2.294 MB / 463 MB, free: 8.723 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.9288, allocations: 8 kB / 463 MB, free: 8.715 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-05/0.9289, allocations: 15.98 kB / 463 MB, free: 8.699 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/0.9301, allocations: 363.2 kB / 463.4 MB, free: 8.344 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/0.9319, allocations: 331.5 kB / 463.7 MB, free: 8.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005846/0.9378, allocations: 4.054 MB / 467.8 MB, free: 3.832 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/0.9396, allocations: 87.78 kB / 467.8 MB, free: 3.746 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002506/0.9398, allocations: 64.05 kB / 467.9 MB, free: 3.684 MB / 314.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.0003409/0.9402, allocations: 192.5 kB / 468.1 MB, free: 3.488 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005196/0.9407, allocations: 189.8 kB / 468.3 MB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004104/0.9449, allocations: 2.102 MB / 470.4 MB, free: 1.184 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.9449, allocations: 16 kB / 470.4 MB, free: 1.168 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.274e-06/0.9449, allocations: 4 kB / 470.4 MB, free: 1.164 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/0.945, allocations: 7.984 kB / 470.4 MB, free: 1.156 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/0.9574, allocations: 5.112 MB / 475.5 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.973e-05/0.9575, allocations: 4.219 kB / 475.5 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/0.9589, allocations: 227.7 kB / 475.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001353/0.9603, allocations: 344.4 kB / 476.1 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000208/0.9606, allocations: 39.92 kB / 476.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007292/0.9679, allocations: 3.968 MB / 480.1 MB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/0.9679, allocations: 0 / 480.1 MB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007121/0.9751, allocations: 3.272 MB / 483.4 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/0.9765, allocations: 458.6 kB / 483.8 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004436/0.977, allocations: 35.98 kB / 483.9 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.9785, allocations: 99.97 kB / 483.9 MB, free: 3.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003236/0.9788, allocations: 96.8 kB / 484 MB, free: 3.176 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/0.979, allocations: 43.98 kB / 484.1 MB, free: 3.133 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002779/0.9818, allocations: 1.232 MB / 485.3 MB, free: 1.906 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.021e-06/0.9819, allocations: 0 / 485.3 MB, free: 1.906 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002798/0.9847, allocations: 0.5546 MB / 485.9 MB, free: 1.352 MB / 330.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.0006068/0.9853, allocations: 206.8 kB / 486.1 MB, free: 1.141 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004938/0.9903, allocations: 2.19 MB / 488.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/0.9903, allocations: 4 kB / 488.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002883/0.9932, allocations: 1.266 MB / 489.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003017/0.9963, allocations: 485.1 kB / 490 MB, free: 13.13 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/1.008, allocations: 4.481 MB / 494.5 MB, free: 8.578 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003912/1.012, allocations: 2.401 MB / 496.9 MB, free: 6.148 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008179/1.013, allocations: 127.4 kB / 497 MB, free: 6.027 MB / 346.7 MB Notification: Performance of SimCode: time 2.039e-06/1.013, allocations: 0 / 497 MB, free: 6.027 MB / 346.7 MB Notification: Performance of Templates: time 0.2702/1.283, allocations: 47.8 MB / 0.532 GB, free: 72.56 MB / 346.7 MB