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.85/1.85, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.961e-05/2.97e-05, allocations: 7.906 kB / 258.8 MB, free: 8.043 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2868, allocations: 44.5 MB / 303.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01289/0.2997, allocations: 8.357 MB / 311.7 MB, free: 5.23 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01438/0.3142, allocations: 5.585 MB / 317.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002153/0.3164, allocations: 55.81 kB / 317.3 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.3182, allocations: 385.6 kB / 317.7 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003662/0.3219, allocations: 0.8098 MB / 318.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00635/0.3283, allocations: 1.647 MB / 320.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004486/0.3328, allocations: 1.645 MB / 321.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009558/0.3339, allocations: 392.6 kB / 322.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001998/0.3359, allocations: 0.9235 MB / 323.1 MB, free: 9.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002578/0.3385, allocations: 1.118 MB / 324.2 MB, free: 8.648 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.3402, allocations: 347.7 kB / 324.6 MB, free: 8.309 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007361/0.341, allocations: 136 kB / 324.7 MB, free: 8.176 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006978/0.3417, allocations: 0.506 MB / 325.2 MB, free: 7.668 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008692/0.3426, allocations: 224 kB / 325.4 MB, free: 7.449 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004966/0.3476, allocations: 2.976 MB / 328.4 MB, free: 4.465 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3476, allocations: 0 / 328.4 MB, free: 4.465 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.394e-06/0.3477, allocations: 0 / 328.4 MB, free: 4.465 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001106/0.3478, allocations: 3.938 kB / 328.4 MB, free: 4.461 MB / 266.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.0089/0.3567, allocations: 2.291 MB / 330.7 MB, free: 2.113 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.3568, allocations: 12.03 kB / 330.7 MB, free: 2.102 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.3578, allocations: 276.8 kB / 331 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003491/0.3613, allocations: 1.299 MB / 332.3 MB, free: 488 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002974/0.3617, allocations: 244.9 kB / 332.5 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001099/0.3628, allocations: 239.8 kB / 332.8 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007066/0.3699, allocations: 2.15 MB / 334.9 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.038e-05/0.37, allocations: 4 kB / 334.9 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003042/0.3703, allocations: 80 kB / 335 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.344e-05/0.3703, allocations: 44 kB / 335 MB, free: 13.63 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007703/0.3781, allocations: 1.943 MB / 337 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02178/0.3999, allocations: 7.88 MB / 344.9 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006684/0.4066, allocations: 2.108 MB / 347 MB, free: 1.418 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002641/0.4069, allocations: 25.98 kB / 347 MB, free: 1.395 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.721e-05/0.407, allocations: 68.5 kB / 347.1 MB, free: 1.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=208): time 9.267e-06/0.407, allocations: 0 / 347.1 MB, free: 1.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=250): time 0.09921/0.5063, allocations: 14.76 MB / 361.8 MB, free: 2.387 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002395/0.5065, allocations: 393.8 kB / 362.2 MB, free: 1.918 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003107/0.5097, allocations: 1.338 MB / 363.5 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005168/0.5102, allocations: 73.7 kB / 363.6 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008944/0.5111, allocations: 0.8236 MB / 364.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001212/0.5124, allocations: 0.8315 MB / 365.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002498/0.5126, allocations: 47.98 kB / 365.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002232/0.5129, allocations: 398.7 kB / 365.7 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004262/0.5171, allocations: 1.012 MB / 366.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004474/0.5217, allocations: 1.264 MB / 368 MB, free: 12.03 MB / 314.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.05547/0.5772, allocations: 7.406 MB / 375.4 MB, free: 4.559 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-05/0.5772, allocations: 96 / 375.4 MB, free: 4.559 MB / 314.7 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.01111/0.5883, allocations: 2.983 MB / 378.4 MB, free: 1.512 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.5884, allocations: 8 kB / 378.4 MB, free: 1.504 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.356e-05/0.5885, allocations: 4 kB / 378.4 MB, free: 1.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001619/0.5901, allocations: 364.9 kB / 378.7 MB, free: 1.125 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005464/0.5956, allocations: 0.5539 MB / 379.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01311/0.6087, allocations: 10.11 MB / 389.4 MB, free: 5.652 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004203/0.613, allocations: 167.9 kB / 389.6 MB, free: 5.488 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004192/0.6135, allocations: 87.95 kB / 389.6 MB, free: 5.402 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.001454/0.6149, allocations: 461.3 kB / 390.1 MB, free: 4.941 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007893/0.6157, allocations: 209.5 kB / 390.3 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01624/0.632, allocations: 3.535 MB / 393.8 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.596e-05/0.6321, allocations: 24 kB / 393.9 MB, free: 1.086 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.3e-05/0.6321, allocations: 7.953 kB / 393.9 MB, free: 1.078 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.056e-05/0.6322, allocations: 19.94 kB / 393.9 MB, free: 1.059 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02426/0.6565, allocations: 6.27 MB / 400.2 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.219e-05/0.6565, allocations: 0 / 400.2 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004342/0.6609, allocations: 431.4 kB / 400.6 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01014/0.6711, allocations: 1.229 MB / 401.8 MB, free: 8.961 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000533/0.6716, allocations: 63.97 kB / 401.9 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03417/0.7058, allocations: 17.62 MB / 419.5 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.7059, allocations: 0 / 419.5 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01991/0.7258, allocations: 5.052 MB / 424.5 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001867/0.7277, allocations: 0.5295 MB / 425.1 MB, free: 344 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007944/0.7285, allocations: 55.98 kB / 425.1 MB, free: 288 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003894/0.7324, allocations: 155.9 kB / 425.3 MB, free: 132 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.247/0.9795, allocations: 200.6 kB / 425.5 MB, free: 105.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004925/0.98, allocations: 71.52 kB / 425.5 MB, free: 105.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002721/0.9828, allocations: 1.03 MB / 426.6 MB, free: 105.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.9828, allocations: 0.875 kB / 426.6 MB, free: 105.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00421/0.987, allocations: 0.6909 MB / 427.3 MB, free: 105.4 MB / 362.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.0007993/0.9879, allocations: 255.4 kB / 427.5 MB, free: 105.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009174/0.997, allocations: 3.407 MB / 430.9 MB, free: 104.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/0.9971, allocations: 7.938 kB / 430.9 MB, free: 104.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00654/1.004, allocations: 2.63 MB / 433.6 MB, free: 103.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002909/1.007, allocations: 325.1 kB / 433.9 MB, free: 103 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/1.021, allocations: 6.313 MB / 440.2 MB, free: 99.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/1.023, allocations: 1.61 MB / 441.8 MB, free: 98.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002236/1.025, allocations: 293.2 kB / 442.1 MB, free: 98.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/1.026, allocations: 158.8 kB / 442.2 MB, free: 98.46 MB / 362.7 MB Notification: Performance of SimCode: time 9.81e-07/1.026, allocations: 0 / 442.2 MB, free: 98.46 MB / 362.7 MB Notification: Performance of Templates: time 0.08353/1.109, allocations: 35.14 MB / 477.4 MB, free: 63.81 MB / 362.7 MB