Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|PdissCopAvg.x.1.|PdissCopAvg.x.2.|PdissEddyAvg.x.1.|PdissEddyAvg.x.2.|PdissStatAvg.x.1.|PdissStatAvg.x.2.|TR3PhaseYy.CoreA.B|TR3PhaseYy.CoreA.Hstat|TR3PhaseYy.CoreA.MagRel|TR3PhaseYy.CoreB.B|TR3PhaseYy.CoreB.Hstat|TR3PhaseYy.CoreB.MagRel|TR3PhaseYy.CoreC.B|TR3PhaseYy.CoreC.Hstat|TR3PhaseYy.CoreC.MagRel|TR3PhaseYy.WA.i|TR3PhaseYy.WB.i|TR3PhaseYy.WC.i|TR3PhaseYy.Wa.i|TR3PhaseYy.Wb.i|TR3PhaseYy.Wc.i|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadModel(Modelica): time 1.772/1.772, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.066e-05/4.079e-05, allocations: 0 / 255.4 MB, free: 2.68 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1498, allocations: 44.5 MB / 299.9 MB, free: 6.117 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4203/0.5702, allocations: 105.7 MB / 405.6 MB, free: 15.22 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.5705, allocations: 81.48 kB / 405.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2962/0.8667, allocations: 53.3 MB / 459 MB, free: 12.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.138e-06/0.8668, allocations: 0 / 459 MB, free: 12.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001567/0.8669, allocations: 52 kB / 459 MB, free: 12.09 MB / 346.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.00658/0.8735, allocations: 2.236 MB / 461.2 MB, free: 9.941 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.8736, allocations: 8.031 kB / 461.3 MB, free: 9.934 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009074/0.8745, allocations: 280.8 kB / 461.5 MB, free: 9.656 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003423/0.8779, allocations: 1.352 MB / 462.9 MB, free: 8.613 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000297/0.8783, allocations: 243.9 kB / 463.1 MB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007781/0.8791, allocations: 235.6 kB / 463.4 MB, free: 8.258 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004904/0.884, allocations: 2.045 MB / 465.4 MB, free: 6.637 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.348e-05/0.8841, allocations: 11.89 kB / 465.4 MB, free: 6.625 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002777/0.8844, allocations: 84 kB / 465.5 MB, free: 6.543 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.131e-05/0.8844, allocations: 44 kB / 465.5 MB, free: 6.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004643/0.8891, allocations: 1.714 MB / 467.2 MB, free: 4.785 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01787/0.907, allocations: 7.911 MB / 475.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004131/0.9111, allocations: 1.927 MB / 477.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00313/0.9143, allocations: 1.355 MB / 478.4 MB, free: 9.312 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.9145, allocations: 25.98 kB / 478.5 MB, free: 9.289 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.619e-05/0.9146, allocations: 64.56 kB / 478.5 MB, free: 9.215 MB / 362.7 MB Notification: Performance of pre-optimization done (n=208): time 6.159e-06/0.9146, allocations: 0 / 478.5 MB, free: 9.215 MB / 362.7 MB Notification: Performance of matching and sorting (n=250): time 0.1019/1.016, allocations: 12.62 MB / 491.1 MB, free: 12.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002699/1.017, allocations: 401.7 kB / 491.5 MB, free: 12.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003065/1.02, allocations: 1.322 MB / 492.9 MB, free: 10.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004737/1.02, allocations: 73.7 kB / 492.9 MB, free: 10.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008669/1.021, allocations: 0.8081 MB / 493.7 MB, free: 9.812 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001148/1.022, allocations: 0.8276 MB / 494.6 MB, free: 8.973 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/1.023, allocations: 48 kB / 494.6 MB, free: 8.926 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002792/1.023, allocations: 394.7 kB / 495 MB, free: 8.535 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002542/1.025, allocations: 0.9146 MB / 495.9 MB, free: 7.617 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002798/1.028, allocations: 1.14 MB / 497.1 MB, free: 6.422 MB / 378.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.03976/1.068, allocations: 7.107 MB / 0.4923 GB, free: 15.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.979e-06/1.068, allocations: 0 / 0.4923 GB, free: 15.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.02656/1.095, allocations: 5.855 MB / 0.4981 GB, free: 9.316 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/1.095, allocations: 8 kB / 0.4981 GB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.791e-05/1.095, allocations: 11.98 kB / 0.4981 GB, free: 9.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02302/1.118, allocations: 3.603 MB / 0.5016 GB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002468/1.12, allocations: 379.5 kB / 0.502 GB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2899/1.41, allocations: 24.58 MB / 0.526 GB, free: 84.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/1.413, allocations: 139.4 kB / 0.5261 GB, free: 84.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003518/1.413, allocations: 82.86 kB / 0.5262 GB, free: 84.86 MB / 394.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.0005853/1.414, allocations: 240.3 kB / 0.5264 GB, free: 84.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005816/1.415, allocations: 207.9 kB / 0.5266 GB, free: 84.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008979/1.424, allocations: 3.234 MB / 0.5298 GB, free: 84.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.938e-05/1.424, allocations: 26.53 kB / 0.5298 GB, free: 84.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/1.424, allocations: 6.562 kB / 0.5298 GB, free: 84.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.143e-05/1.424, allocations: 14.58 kB / 0.5298 GB, free: 84.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01675/1.441, allocations: 6.096 MB / 0.5358 GB, free: 81.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/1.441, allocations: 3.953 kB / 0.5358 GB, free: 81.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003235/1.444, allocations: 437.5 kB / 0.5362 GB, free: 81.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00753/1.451, allocations: 1.198 MB / 0.5374 GB, free: 81.67 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004858/1.452, allocations: 62.58 kB / 0.5374 GB, free: 81.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02144/1.473, allocations: 16.94 MB / 0.554 GB, free: 67.14 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.137e-06/1.473, allocations: 0 / 0.554 GB, free: 67.14 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01336/1.487, allocations: 4.776 MB / 0.5586 GB, free: 64.87 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/1.488, allocations: 0.5266 MB / 0.5591 GB, free: 64.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004707/1.489, allocations: 61.23 kB / 0.5592 GB, free: 64.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002647/1.492, allocations: 151 kB / 0.5593 GB, free: 64.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005891/1.492, allocations: 206.4 kB / 0.5595 GB, free: 64.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002358/1.492, allocations: 76.11 kB / 0.5596 GB, free: 64.37 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001885/1.494, allocations: 1.009 MB / 0.5606 GB, free: 63.94 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.17e-07/1.494, allocations: 0 / 0.5606 GB, free: 63.94 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004123/1.498, allocations: 0.7763 MB / 0.5614 GB, free: 63.85 MB / 394.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.0007722/1.499, allocations: 290.8 kB / 0.5616 GB, free: 63.72 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007023/1.506, allocations: 3.653 MB / 0.5652 GB, free: 61.58 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/1.506, allocations: 3.312 kB / 0.5652 GB, free: 61.58 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004478/1.511, allocations: 2.415 MB / 0.5676 GB, free: 60.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/1.513, allocations: 336.7 kB / 0.5679 GB, free: 59.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009501/1.523, allocations: 4.392 MB / 0.5722 GB, free: 57.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/1.524, allocations: 1.643 MB / 0.5738 GB, free: 57.13 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001871/1.526, allocations: 270 kB / 0.574 GB, free: 57.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000732/1.527, allocations: 133.2 kB / 0.5742 GB, free: 57.08 MB / 394.7 MB Notification: Performance of SimCode: time 2.142e-06/1.527, allocations: 3.25 kB / 0.5742 GB, free: 57.08 MB / 394.7 MB Notification: Performance of Templates: time 0.08805/1.615, allocations: 43.27 MB / 0.6164 GB, free: 29.17 MB / 394.7 MB