Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadModel(Modelica): time 1.977/1.977, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.826e-05, allocations: 3.984 kB / 292.2 MB, free: 8.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08948/0.08953, allocations: 50.41 MB / 342.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4042/0.4938, allocations: 114.8 MB / 457.4 MB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.4941, allocations: 86.14 kB / 457.5 MB, free: 11.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2222/0.7163, allocations: 54.14 MB / 0.4996 GB, free: 9.449 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.7164, allocations: 3.938 kB / 0.4996 GB, free: 9.445 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001689/0.7165, allocations: 55.94 kB / 0.4997 GB, free: 9.391 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.006473/0.723, allocations: 2.239 MB / 0.5019 GB, free: 7.094 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.7231, allocations: 8.031 kB / 0.5019 GB, free: 7.086 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009719/0.7241, allocations: 276.7 kB / 0.5021 GB, free: 6.812 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003792/0.7279, allocations: 1.354 MB / 0.5034 GB, free: 5.406 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000316/0.7282, allocations: 244.9 kB / 0.5037 GB, free: 5.148 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009138/0.7291, allocations: 235.8 kB / 0.5039 GB, free: 4.918 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005041/0.7342, allocations: 2.056 MB / 0.5059 GB, free: 2.773 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.501e-05/0.7343, allocations: 0 / 0.5059 GB, free: 2.773 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003043/0.7346, allocations: 84 kB / 0.506 GB, free: 2.691 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.258e-05/0.7347, allocations: 48 kB / 0.506 GB, free: 2.645 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004683/0.7394, allocations: 1.718 MB / 0.5077 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01797/0.7574, allocations: 7.917 MB / 0.5154 GB, free: 8.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004192/0.7616, allocations: 1.931 MB / 0.5173 GB, free: 6.805 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003151/0.7648, allocations: 1.344 MB / 0.5186 GB, free: 5.453 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00014/0.765, allocations: 29.98 kB / 0.5187 GB, free: 5.426 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.365e-05/0.765, allocations: 64.5 kB / 0.5187 GB, free: 5.352 MB / 442.7 MB Notification: Performance of pre-optimization done (n=208): time 6.655e-06/0.7651, allocations: 4 kB / 0.5187 GB, free: 5.348 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.2963/1.061, allocations: 12.61 MB / 0.5311 GB, free: 113.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/1.062, allocations: 393.2 kB / 0.5314 GB, free: 113.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002935/1.065, allocations: 1.32 MB / 0.5327 GB, free: 113.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004792/1.065, allocations: 71.86 kB / 0.5328 GB, free: 113.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006417/1.066, allocations: 0.8051 MB / 0.5336 GB, free: 113 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008434/1.067, allocations: 0.8327 MB / 0.5344 GB, free: 112.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/1.067, allocations: 48.47 kB / 0.5344 GB, free: 112.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/1.067, allocations: 396.1 kB / 0.5348 GB, free: 112.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002312/1.069, allocations: 0.906 MB / 0.5357 GB, free: 112.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002532/1.072, allocations: 1.136 MB / 0.5368 GB, free: 112.1 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.03462/1.106, allocations: 7.109 MB / 0.5437 GB, free: 111.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.517e-06/1.106, allocations: 0 / 0.5437 GB, free: 111.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.0282/1.135, allocations: 5.866 MB / 0.5495 GB, free: 111.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/1.135, allocations: 2.844 kB / 0.5495 GB, free: 111.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-05/1.135, allocations: 10.8 kB / 0.5495 GB, free: 111.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02292/1.158, allocations: 3.595 MB / 0.553 GB, free: 110.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002443/1.16, allocations: 378.7 kB / 0.5534 GB, free: 110.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05145/1.212, allocations: 24.61 MB / 0.5774 GB, free: 92.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002777/1.215, allocations: 138.3 kB / 0.5775 GB, free: 92.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003065/1.215, allocations: 81.61 kB / 0.5776 GB, free: 92.48 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.0005784/1.215, allocations: 238.4 kB / 0.5778 GB, free: 92.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006096/1.216, allocations: 205 kB / 0.578 GB, free: 92.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008833/1.225, allocations: 3.231 MB / 0.5812 GB, free: 90.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.502e-05/1.225, allocations: 24.09 kB / 0.5812 GB, free: 90.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/1.225, allocations: 7.562 kB / 0.5812 GB, free: 90.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.439e-05/1.225, allocations: 14.09 kB / 0.5812 GB, free: 90.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/1.241, allocations: 6.095 MB / 0.5872 GB, free: 88.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/1.241, allocations: 3.969 kB / 0.5872 GB, free: 88.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002796/1.244, allocations: 434.4 kB / 0.5876 GB, free: 88.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006945/1.25, allocations: 1.205 MB / 0.5888 GB, free: 87.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000507/1.251, allocations: 60.83 kB / 0.5888 GB, free: 87.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02186/1.273, allocations: 16.93 MB / 0.6054 GB, free: 71.24 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.273, allocations: 0 / 0.6054 GB, free: 71.24 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01244/1.285, allocations: 4.779 MB / 0.61 GB, free: 66.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001666/1.287, allocations: 0.5314 MB / 0.6105 GB, free: 66.24 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006056/1.288, allocations: 55.95 kB / 0.6106 GB, free: 66.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002511/1.29, allocations: 154.4 kB / 0.6107 GB, free: 66.06 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005858/1.291, allocations: 208 kB / 0.6109 GB, free: 65.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00023/1.291, allocations: 67.56 kB / 0.611 GB, free: 65.87 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001847/1.293, allocations: 1.015 MB / 0.612 GB, free: 64.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.061e-06/1.293, allocations: 0 / 0.612 GB, free: 64.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004196/1.297, allocations: 0.7782 MB / 0.6128 GB, free: 64.18 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.0007862/1.298, allocations: 297.6 kB / 0.613 GB, free: 63.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006798/1.305, allocations: 3.651 MB / 0.6166 GB, free: 60.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.358e-06/1.305, allocations: 4 kB / 0.6166 GB, free: 60.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004356/1.309, allocations: 2.405 MB / 0.619 GB, free: 57.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/1.312, allocations: 334.5 kB / 0.6193 GB, free: 57.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009314/1.321, allocations: 4.389 MB / 0.6236 GB, free: 53.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/1.322, allocations: 1.648 MB / 0.6252 GB, free: 52.39 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00172/1.324, allocations: 264 kB / 0.6254 GB, free: 52.22 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00068/1.325, allocations: 132.5 kB / 0.6256 GB, free: 52.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.919e-06/1.325, allocations: 3.938 kB / 0.6256 GB, free: 52.09 MB / 442.7 MB Notification: Performance of Templates: time 0.09138/1.416, allocations: 43.21 MB / 0.6678 GB, free: 16.87 MB / 442.7 MB