Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadModel(Modelica): time 1.981/1.981, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/2.999e-05, allocations: 4 kB / 292.7 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09011/0.09016, allocations: 50.41 MB / 343.1 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3973/0.4875, allocations: 114.8 MB / 457.9 MB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.4878, allocations: 87.08 kB / 458 MB, free: 11.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2585/0.7463, allocations: 54.15 MB / 0.5001 GB, free: 9.496 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.268e-06/0.7463, allocations: 7.875 kB / 0.5001 GB, free: 9.488 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001714/0.7465, allocations: 56 kB / 0.5002 GB, free: 9.434 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.006765/0.7533, allocations: 2.231 MB / 0.5024 GB, free: 7.145 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.7533, allocations: 8.031 kB / 0.5024 GB, free: 7.137 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009442/0.7543, allocations: 280.7 kB / 0.5026 GB, free: 6.859 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003962/0.7583, allocations: 1.35 MB / 0.504 GB, free: 5.457 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003339/0.7587, allocations: 244.9 kB / 0.5042 GB, free: 5.199 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009017/0.7596, allocations: 239.8 kB / 0.5044 GB, free: 4.965 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005114/0.7647, allocations: 2.057 MB / 0.5064 GB, free: 2.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.689e-05/0.7648, allocations: 4 kB / 0.5064 GB, free: 2.816 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002791/0.7651, allocations: 80 kB / 0.5065 GB, free: 2.738 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.465e-05/0.7651, allocations: 44 kB / 0.5065 GB, free: 2.695 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004654/0.7698, allocations: 1.722 MB / 0.5082 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01763/0.7875, allocations: 7.917 MB / 0.516 GB, free: 8.816 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004138/0.7917, allocations: 1.927 MB / 0.5178 GB, free: 6.855 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003071/0.7948, allocations: 1.347 MB / 0.5192 GB, free: 5.496 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.7949, allocations: 25.98 kB / 0.5192 GB, free: 5.473 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.477e-05/0.795, allocations: 64.5 kB / 0.5192 GB, free: 5.398 MB / 442.7 MB Notification: Performance of pre-optimization done (n=208): time 6.152e-06/0.795, allocations: 0 / 0.5192 GB, free: 5.398 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.2932/1.088, allocations: 12.62 MB / 0.5316 GB, free: 114.1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/1.088, allocations: 393.3 kB / 0.5319 GB, free: 113.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002752/1.091, allocations: 1.319 MB / 0.5332 GB, free: 113.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003938/1.092, allocations: 75.34 kB / 0.5333 GB, free: 113.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006284/1.092, allocations: 0.8077 MB / 0.5341 GB, free: 113.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007597/1.093, allocations: 0.8337 MB / 0.5349 GB, free: 112.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/1.093, allocations: 43.31 kB / 0.5349 GB, free: 112.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/1.093, allocations: 396.8 kB / 0.5353 GB, free: 112.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002277/1.096, allocations: 0.9092 MB / 0.5362 GB, free: 112.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002516/1.098, allocations: 1.133 MB / 0.5373 GB, free: 112.4 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.0334/1.132, allocations: 7.108 MB / 0.5443 GB, free: 112.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.139e-06/1.132, allocations: 3.875 kB / 0.5443 GB, free: 112.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.02363/1.155, allocations: 5.861 MB / 0.55 GB, free: 111.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/1.155, allocations: 7.562 kB / 0.55 GB, free: 111.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.233e-05/1.155, allocations: 7.188 kB / 0.55 GB, free: 111.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02085/1.176, allocations: 3.588 MB / 0.5535 GB, free: 110.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002229/1.179, allocations: 382.9 kB / 0.5539 GB, free: 110.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04672/1.225, allocations: 24.6 MB / 0.5779 GB, free: 92.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002621/1.228, allocations: 145.3 kB / 0.578 GB, free: 92.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002906/1.228, allocations: 86.86 kB / 0.5781 GB, free: 92.89 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.0005523/1.229, allocations: 226.8 kB / 0.5783 GB, free: 92.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004978/1.229, allocations: 208.6 kB / 0.5785 GB, free: 92.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00828/1.238, allocations: 3.229 MB / 0.5817 GB, free: 91.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.391e-05/1.238, allocations: 27.28 kB / 0.5817 GB, free: 91.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/1.238, allocations: 7.156 kB / 0.5817 GB, free: 91.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.957e-05/1.238, allocations: 13.89 kB / 0.5817 GB, free: 91.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/1.253, allocations: 6.1 MB / 0.5877 GB, free: 88.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.12e-05/1.253, allocations: 0 / 0.5877 GB, free: 88.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002845/1.255, allocations: 438 kB / 0.5881 GB, free: 88.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006354/1.262, allocations: 1.196 MB / 0.5893 GB, free: 88.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004339/1.262, allocations: 65.33 kB / 0.5893 GB, free: 88.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02065/1.283, allocations: 16.93 MB / 0.6059 GB, free: 71.65 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.861e-06/1.283, allocations: 0 / 0.6059 GB, free: 71.65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01206/1.295, allocations: 4.773 MB / 0.6105 GB, free: 67.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/1.297, allocations: 0.5325 MB / 0.6111 GB, free: 66.65 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000478/1.297, allocations: 55.95 kB / 0.6111 GB, free: 66.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/1.299, allocations: 157.6 kB / 0.6113 GB, free: 66.47 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000554/1.3, allocations: 202.9 kB / 0.6115 GB, free: 66.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002302/1.3, allocations: 74.78 kB / 0.6115 GB, free: 66.28 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001766/1.302, allocations: 1.013 MB / 0.6125 GB, free: 65.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.27e-07/1.302, allocations: 3.719 kB / 0.6125 GB, free: 65.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003807/1.306, allocations: 0.7746 MB / 0.6133 GB, free: 64.59 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.0006804/1.307, allocations: 290.2 kB / 0.6135 GB, free: 64.35 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006631/1.313, allocations: 3.654 MB / 0.6171 GB, free: 60.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.04e-06/1.313, allocations: 0 / 0.6171 GB, free: 60.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004027/1.317, allocations: 2.407 MB / 0.6195 GB, free: 58.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/1.319, allocations: 330 kB / 0.6198 GB, free: 58.08 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009579/1.329, allocations: 4.402 MB / 0.6241 GB, free: 54.15 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001376/1.33, allocations: 1.643 MB / 0.6257 GB, free: 52.81 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001887/1.332, allocations: 258.7 kB / 0.6259 GB, free: 52.63 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007326/1.333, allocations: 137.5 kB / 0.6261 GB, free: 52.51 MB / 442.7 MB Notification: Performance of SimCode: time 3.255e-06/1.333, allocations: 0 / 0.6261 GB, free: 52.51 MB / 442.7 MB Notification: Performance of Templates: time 0.09098/1.424, allocations: 43.22 MB / 0.6683 GB, free: 17.36 MB / 442.7 MB