Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadModel(Modelica): time 2.061/2.061, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.607e-05/5.618e-05, allocations: 5.562 kB / 292.1 MB, free: 8.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1398, allocations: 50.41 MB / 342.6 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4043/0.5442, allocations: 114.9 MB / 457.4 MB, free: 11.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.5445, allocations: 85.83 kB / 457.5 MB, free: 11.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2309/0.7754, allocations: 54.14 MB / 0.4996 GB, free: 9.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.596e-06/0.7755, allocations: 3.938 kB / 0.4997 GB, free: 9.727 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001798/0.7756, allocations: 59.92 kB / 0.4997 GB, free: 9.668 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.007061/0.7827, allocations: 2.237 MB / 0.5019 GB, free: 7.375 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.7828, allocations: 8.031 kB / 0.5019 GB, free: 7.367 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.7839, allocations: 284.7 kB / 0.5022 GB, free: 7.086 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003946/0.7879, allocations: 1.346 MB / 0.5035 GB, free: 5.688 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003073/0.7882, allocations: 240.9 kB / 0.5037 GB, free: 5.434 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000808/0.789, allocations: 247.8 kB / 0.504 GB, free: 5.191 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008949/0.798, allocations: 2.052 MB / 0.506 GB, free: 3.051 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.745e-05/0.7982, allocations: 0 / 0.506 GB, free: 3.051 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004975/0.7987, allocations: 84 kB / 0.506 GB, free: 2.969 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.817e-05/0.7988, allocations: 48 kB / 0.5061 GB, free: 2.922 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009005/0.8078, allocations: 1.714 MB / 0.5078 GB, free: 1.207 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03411/0.842, allocations: 7.917 MB / 0.5155 GB, free: 9.051 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007779/0.8498, allocations: 1.931 MB / 0.5174 GB, free: 7.086 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00584/0.8557, allocations: 1.344 MB / 0.5187 GB, free: 5.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002657/0.856, allocations: 29.98 kB / 0.5187 GB, free: 5.703 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/0.8562, allocations: 64.5 kB / 0.5188 GB, free: 5.629 MB / 442.7 MB Notification: Performance of pre-optimization done (n=208): time 1.263e-05/0.8562, allocations: 0 / 0.5188 GB, free: 5.629 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.3154/1.172, allocations: 12.62 MB / 0.5311 GB, free: 113.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/1.172, allocations: 390.1 kB / 0.5315 GB, free: 113.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003072/1.175, allocations: 1.323 MB / 0.5328 GB, free: 113 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004972/1.175, allocations: 80.12 kB / 0.5328 GB, free: 113 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005346/1.176, allocations: 0.7525 MB / 0.5336 GB, free: 112.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000882/1.177, allocations: 0.8399 MB / 0.5344 GB, free: 112.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/1.177, allocations: 45.55 kB / 0.5344 GB, free: 112.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001725/1.177, allocations: 399 kB / 0.5348 GB, free: 112 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002399/1.18, allocations: 0.9099 MB / 0.5357 GB, free: 111.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00283/1.182, allocations: 1.133 MB / 0.5368 GB, free: 111.8 MB / 442.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.03197/1.214, allocations: 6.727 MB / 0.5434 GB, free: 111.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-05/1.215, allocations: 0 / 0.5434 GB, free: 111.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.02595/1.24, allocations: 5.756 MB / 0.549 GB, free: 111.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/1.241, allocations: 3.375 kB / 0.549 GB, free: 111.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.825e-05/1.241, allocations: 14.31 kB / 0.549 GB, free: 111.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02218/1.263, allocations: 3.593 MB / 0.5525 GB, free: 110.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002189/1.265, allocations: 379.1 kB / 0.5529 GB, free: 110.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05109/1.316, allocations: 24.62 MB / 0.5769 GB, free: 92.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002755/1.319, allocations: 143.6 kB / 0.5771 GB, free: 92.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005065/1.32, allocations: 85.45 kB / 0.5771 GB, free: 92.46 MB / 442.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: transformer.H[1] = $START.transformer.H[1] transformer.H[3] = $START.transformer.H[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 (transformer.core1.asc,transformer.core2.asc,transformer.core3.asc,diode1.off,diode2.off,diode3.off,diode4.off,diode5.off,diode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 180 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 6 {1 19,1 20,1 20,2 7,2 7,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006205/1.32, allocations: 221.6 kB / 0.5774 GB, free: 92.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007261/1.321, allocations: 208.5 kB / 0.5776 GB, free: 92.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009286/1.33, allocations: 3.231 MB / 0.5807 GB, free: 90.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-05/1.33, allocations: 25.97 kB / 0.5807 GB, free: 90.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/1.33, allocations: 3.344 kB / 0.5807 GB, free: 90.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.311e-05/1.33, allocations: 11.39 kB / 0.5808 GB, free: 90.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01712/1.347, allocations: 6.104 MB / 0.5867 GB, free: 88.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/1.348, allocations: 0 / 0.5867 GB, free: 88.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002954/1.35, allocations: 434.5 kB / 0.5871 GB, free: 88.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006709/1.357, allocations: 1.199 MB / 0.5883 GB, free: 87.85 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004165/1.358, allocations: 66.25 kB / 0.5884 GB, free: 87.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02178/1.379, allocations: 16.93 MB / 0.6049 GB, free: 71.81 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.445e-06/1.38, allocations: 3.797 kB / 0.6049 GB, free: 71.81 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01355/1.393, allocations: 4.771 MB / 0.6096 GB, free: 67.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001748/1.395, allocations: 0.5275 MB / 0.6101 GB, free: 66.81 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000623/1.396, allocations: 63.61 kB / 0.6101 GB, free: 66.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002466/1.398, allocations: 159.9 kB / 0.6103 GB, free: 66.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005795/1.399, allocations: 196.3 kB / 0.6105 GB, free: 66.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002275/1.399, allocations: 74.88 kB / 0.6105 GB, free: 66.44 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001817/1.401, allocations: 1.011 MB / 0.6115 GB, free: 65.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.78e-07/1.401, allocations: 4 kB / 0.6115 GB, free: 65.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004068/1.405, allocations: 0.7793 MB / 0.6123 GB, free: 64.75 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (transformer.Phi[1],transformer.Phi[2],transformer.Phi[3],transformer.core1.Hstat,transformer.core2.Hstat,transformer.core3.Hstat,transformer.winding11.i,transformer.winding12.i,transformer.winding13.i,transformer.winding21.i,transformer.winding22.i,transformer.winding23.i,capacitor1.v,capacitor2.v,pdissStatAvg.x[1],pdissStatAvg.x[2],pdissEddyAvg.x[1],pdissEddyAvg.x[2],pdissCopAvg.x[1],pdissCopAvg.x[2],transformer.core3.MagRel,transformer.core2.MagRel,transformer.core1.MagRel) * Number of discrete variables: 9 (transformer.core1.asc,transformer.core2.asc,transformer.core3.asc,diode1.off,diode2.off,diode3.off,diode4.off,diode5.off,diode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (203): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 6 {1 8,1 8,1 8,2 7,2 7,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007516/1.406, allocations: 287.3 kB / 0.6126 GB, free: 64.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006821/1.412, allocations: 3.648 MB / 0.6161 GB, free: 60.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.554e-06/1.412, allocations: 4 kB / 0.6161 GB, free: 60.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004348/1.417, allocations: 2.415 MB / 0.6185 GB, free: 58.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/1.419, allocations: 328.2 kB / 0.6188 GB, free: 58.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009554/1.429, allocations: 4.47 MB / 0.6232 GB, free: 54.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/1.43, allocations: 1.64 MB / 0.6248 GB, free: 52.89 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/1.431, allocations: 151.2 kB / 0.6249 GB, free: 52.76 MB / 442.7 MB Notification: Performance of SimCode: time 1.772e-06/1.431, allocations: 4 kB / 0.6249 GB, free: 52.76 MB / 442.7 MB Notification: Performance of Templates: time 0.3576/1.789, allocations: 102.6 MB / 0.7251 GB, free: 98.28 MB / 442.7 MB