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_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadModel(Modelica): time 2.063/2.063, allocations: 224.7 MB / 241.1 MB, free: 1.703 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.37e-05/3.374e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1386, allocations: 50.42 MB / 345 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01304/0.1517, allocations: 8.216 MB / 353.2 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01399/0.1657, allocations: 5.564 MB / 358.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002106/0.1679, allocations: 51.81 kB / 358.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001843/0.1698, allocations: 385.6 kB / 359.2 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003681/0.1735, allocations: 0.802 MB / 360 MB, free: 9.883 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006643/0.1802, allocations: 1.647 MB / 361.6 MB, free: 8.238 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004562/0.1848, allocations: 1.645 MB / 363.3 MB, free: 6.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.1859, allocations: 384.6 kB / 363.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002121/0.1881, allocations: 0.9196 MB / 364.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002952/0.1911, allocations: 1.118 MB / 365.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.1929, allocations: 351.6 kB / 366 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007764/0.1937, allocations: 136 kB / 366.2 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007218/0.1945, allocations: 0.506 MB / 366.7 MB, free: 3.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008523/0.1953, allocations: 220 kB / 366.9 MB, free: 2.965 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00499/0.2004, allocations: 2.972 MB / 369.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2004, allocations: 0 / 369.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.2004, allocations: 4 kB / 369.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000122/0.2006, allocations: 4 kB / 369.9 MB, free: 15.98 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.008906/0.2095, allocations: 2.287 MB / 372.2 MB, free: 13.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.2095, allocations: 8.031 kB / 372.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.2107, allocations: 280.7 kB / 372.4 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003506/0.2142, allocations: 1.299 MB / 373.7 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003273/0.2145, allocations: 248.9 kB / 374 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/0.2156, allocations: 239.8 kB / 374.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007206/0.2229, allocations: 2.15 MB / 376.4 MB, free: 9.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.489e-05/0.223, allocations: 0 / 376.4 MB, free: 9.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003182/0.2233, allocations: 84 kB / 376.5 MB, free: 9.188 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.576e-05/0.2234, allocations: 52 kB / 376.5 MB, free: 9.137 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007779/0.2312, allocations: 1.943 MB / 378.4 MB, free: 7.191 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02182/0.253, allocations: 7.888 MB / 386.3 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006572/0.2596, allocations: 2.104 MB / 388.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002565/0.2599, allocations: 25.98 kB / 388.5 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.322e-05/0.26, allocations: 60.56 kB / 388.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=208): time 9.167e-06/0.26, allocations: 0 / 388.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=250): time 0.4774/0.7375, allocations: 14.77 MB / 403.3 MB, free: 49.06 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001896/0.7377, allocations: 394.9 kB / 403.7 MB, free: 48.62 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003576/0.7413, allocations: 1.333 MB / 405 MB, free: 48.08 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006008/0.742, allocations: 73.69 kB / 405.1 MB, free: 48.01 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007752/0.7428, allocations: 0.7775 MB / 405.9 MB, free: 47.56 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001308/0.7441, allocations: 0.8338 MB / 406.7 MB, free: 46.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/0.7444, allocations: 51.25 kB / 406.7 MB, free: 46.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002174/0.7446, allocations: 398.3 kB / 407.1 MB, free: 46.6 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004445/0.7491, allocations: 1.019 MB / 408.2 MB, free: 46.22 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004982/0.7541, allocations: 1.264 MB / 409.4 MB, free: 45.63 MB / 330.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.05117/0.8054, allocations: 7 MB / 416.4 MB, free: 43.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.885e-05/0.8054, allocations: 1.406 kB / 416.4 MB, free: 43.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.01019/0.8156, allocations: 2.873 MB / 419.3 MB, free: 42.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.8157, allocations: 3.75 kB / 419.3 MB, free: 42.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.777e-05/0.8158, allocations: 11.52 kB / 419.3 MB, free: 42.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001504/0.8173, allocations: 358.7 kB / 419.7 MB, free: 42.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005192/0.8225, allocations: 0.5541 MB / 420.2 MB, free: 42.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/0.8334, allocations: 10.11 MB / 430.3 MB, free: 32.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004279/0.8377, allocations: 169.5 kB / 430.5 MB, free: 32.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005175/0.8383, allocations: 87.02 kB / 430.6 MB, free: 32.07 MB / 330.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] = transformer.HStart[1] transformer.H[3] = transformer.HStart[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (256): * Single equations (assignments): 244 * 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: 6 * 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: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001492/0.8398, allocations: 465.3 kB / 431 MB, free: 31.61 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007371/0.8406, allocations: 205.5 kB / 431.2 MB, free: 31.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01465/0.8552, allocations: 3.537 MB / 434.8 MB, free: 27.78 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.822e-05/0.8553, allocations: 28 kB / 434.8 MB, free: 27.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.163e-05/0.8553, allocations: 5.312 kB / 434.8 MB, free: 27.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.619e-05/0.8554, allocations: 11.95 kB / 434.8 MB, free: 27.74 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02203/0.8775, allocations: 6.276 MB / 441.1 MB, free: 21.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.183e-05/0.8776, allocations: 0 / 441.1 MB, free: 21.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004173/0.8817, allocations: 431.4 kB / 441.5 MB, free: 20.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009757/0.8916, allocations: 1.22 MB / 442.7 MB, free: 19.72 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005492/0.8922, allocations: 67.97 kB / 442.8 MB, free: 19.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03008/0.9223, allocations: 17.62 MB / 460.4 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.9223, allocations: 3.938 kB / 460.4 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02059/0.9429, allocations: 5.05 MB / 465.5 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001892/0.9449, allocations: 0.5295 MB / 466 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008271/0.9457, allocations: 56 kB / 466.1 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00379/0.9495, allocations: 147.9 kB / 466.2 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000964/0.9505, allocations: 205.7 kB / 466.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002926/0.9509, allocations: 67.98 kB / 466.5 MB, free: 10.65 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002518/0.9534, allocations: 1.029 MB / 467.5 MB, free: 9.621 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.9534, allocations: 0 / 467.5 MB, free: 9.621 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004523/0.958, allocations: 0.6992 MB / 468.2 MB, free: 8.93 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (transformer.core1.Hstat,transformer.core1.B,transformer.core2.Hstat,transformer.core2.B,transformer.core3.Hstat,transformer.core3.B,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 (202): * Single equations (assignments): 193 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001101/0.9591, allocations: 260.9 kB / 468.4 MB, free: 8.684 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01119/0.9703, allocations: 3.407 MB / 471.9 MB, free: 5.152 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/0.9704, allocations: 0 / 471.9 MB, free: 5.152 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007503/0.9779, allocations: 2.632 MB / 474.5 MB, free: 2.402 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003227/0.9812, allocations: 329.1 kB / 474.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01753/0.9988, allocations: 6.391 MB / 481.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002183/1.001, allocations: 1.607 MB / 482.8 MB, free: 9.992 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001681/1.003, allocations: 175.3 kB / 483 MB, free: 9.82 MB / 362.7 MB Notification: Performance of SimCode: time 1.573e-06/1.003, allocations: 0 / 483 MB, free: 9.82 MB / 362.7 MB Notification: Performance of Templates: time 0.4481/1.451, allocations: 90.68 MB / 0.5602 GB, free: 145 MB / 442.7 MB