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_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadModel(Modelica): time 2.223/2.223, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.119e-05/4.118e-05, allocations: 11.84 kB / 258.8 MB, free: 8.699 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3192, allocations: 44.51 MB / 303.3 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01417/0.3334, allocations: 8.357 MB / 311.7 MB, free: 5.32 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01519/0.3487, allocations: 5.585 MB / 317.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002375/0.3512, allocations: 51.81 kB / 317.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0016/0.3528, allocations: 389.6 kB / 317.7 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003716/0.3565, allocations: 0.8138 MB / 318.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006759/0.3634, allocations: 1.643 MB / 320.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005004/0.3684, allocations: 1.653 MB / 321.8 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.3697, allocations: 392.5 kB / 322.2 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002407/0.3721, allocations: 0.9157 MB / 323.1 MB, free: 9.863 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002939/0.3751, allocations: 1.121 MB / 324.2 MB, free: 8.738 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.3772, allocations: 351.7 kB / 324.6 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001161/0.3784, allocations: 136 kB / 324.7 MB, free: 8.262 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001322/0.3797, allocations: 0.4943 MB / 325.2 MB, free: 7.766 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.3809, allocations: 220 kB / 325.4 MB, free: 7.551 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005778/0.3867, allocations: 2.987 MB / 328.4 MB, free: 4.555 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3868, allocations: 0 / 328.4 MB, free: 4.555 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.3868, allocations: 0 / 328.4 MB, free: 4.555 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001539/0.3869, allocations: 4 kB / 328.4 MB, free: 4.551 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.009668/0.3966, allocations: 2.291 MB / 330.7 MB, free: 2.203 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.3967, allocations: 8.031 kB / 330.7 MB, free: 2.195 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.3979, allocations: 272.8 kB / 331 MB, free: 1.926 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003799/0.4018, allocations: 1.299 MB / 332.2 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003605/0.4022, allocations: 240.9 kB / 332.5 MB, free: 328 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001137/0.4033, allocations: 239.8 kB / 332.7 MB, free: 88 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007263/0.4106, allocations: 2.146 MB / 334.9 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.618e-05/0.4107, allocations: 4 kB / 334.9 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003151/0.411, allocations: 80 kB / 334.9 MB, free: 13.78 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.063e-05/0.4111, allocations: 52 kB / 335 MB, free: 13.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008206/0.4193, allocations: 1.943 MB / 336.9 MB, free: 11.78 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02259/0.442, allocations: 7.892 MB / 344.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00664/0.4487, allocations: 2.104 MB / 346.9 MB, free: 1.508 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002399/0.449, allocations: 29.98 kB / 347 MB, free: 1.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.64e-05/0.4491, allocations: 68.48 kB / 347 MB, free: 1.406 MB / 282.7 MB Notification: Performance of pre-optimization done (n=208): time 7.284e-06/0.4491, allocations: 0 / 347 MB, free: 1.406 MB / 282.7 MB Notification: Performance of matching and sorting (n=250): time 0.129/0.5781, allocations: 14.76 MB / 361.8 MB, free: 2.473 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002584/0.5784, allocations: 397.8 kB / 362.2 MB, free: 2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003676/0.5821, allocations: 1.335 MB / 363.5 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005829/0.5828, allocations: 73.7 kB / 363.6 MB, free: 0.582 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009658/0.5838, allocations: 0.7736 MB / 364.4 MB, free: 15.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001441/0.5852, allocations: 0.8315 MB / 365.2 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003206/0.5856, allocations: 44 kB / 365.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003157/0.5859, allocations: 407.6 kB / 365.6 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004548/0.5905, allocations: 1.016 MB / 366.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00528/0.5958, allocations: 1.272 MB / 367.9 MB, free: 12.14 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.0688/0.6647, allocations: 7.012 MB / 374.9 MB, free: 5.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/0.6647, allocations: 0 / 374.9 MB, free: 5.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.01468/0.6794, allocations: 2.871 MB / 377.8 MB, free: 2.137 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.6795, allocations: 4 kB / 377.8 MB, free: 2.133 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.996e-05/0.6796, allocations: 16.08 kB / 377.8 MB, free: 2.117 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001648/0.6812, allocations: 356.8 kB / 378.2 MB, free: 1.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005515/0.6868, allocations: 0.55 MB / 378.7 MB, free: 1.199 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0143/0.7011, allocations: 10.11 MB / 388.8 MB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004188/0.7054, allocations: 163.9 kB / 389 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005441/0.706, allocations: 84.45 kB / 389.1 MB, free: 6.039 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.001759/0.7077, allocations: 473.4 kB / 389.5 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009612/0.7087, allocations: 209.5 kB / 389.7 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01656/0.7253, allocations: 3.535 MB / 393.3 MB, free: 1.734 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.184e-05/0.7254, allocations: 28 kB / 393.3 MB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.56e-05/0.7254, allocations: 7.953 kB / 393.3 MB, free: 1.699 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001171/0.7256, allocations: 11.95 kB / 393.3 MB, free: 1.688 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02516/0.7507, allocations: 6.266 MB / 399.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.445e-05/0.7508, allocations: 7.984 kB / 399.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004379/0.7552, allocations: 427.4 kB / 400 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01036/0.7656, allocations: 1.237 MB / 401.2 MB, free: 9.582 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005696/0.7663, allocations: 59.97 kB / 401.3 MB, free: 9.523 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03542/0.8017, allocations: 17.61 MB / 418.9 MB, free: 6.707 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8018, allocations: 4.062 kB / 418.9 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03714/0.8389, allocations: 5.052 MB / 424 MB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01092/0.8499, allocations: 0.5333 MB / 424.5 MB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001358/0.8513, allocations: 56 kB / 424.6 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009968/0.8613, allocations: 155.9 kB / 424.7 MB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001248/0.8626, allocations: 201.7 kB / 424.9 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004271/0.8631, allocations: 75.92 kB / 425 MB, free: 488 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.2736/1.137, allocations: 1.026 MB / 426 MB, free: 105.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.172e-06/1.137, allocations: 0.5 kB / 426 MB, free: 105.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004782/1.142, allocations: 0.6927 MB / 426.7 MB, free: 105.2 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.00102/1.143, allocations: 247.8 kB / 426.9 MB, free: 105.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01016/1.153, allocations: 3.401 MB / 430.3 MB, free: 104.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/1.153, allocations: 13.67 kB / 430.4 MB, free: 104.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006311/1.159, allocations: 2.628 MB / 433 MB, free: 103.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00316/1.162, allocations: 321.1 kB / 433.3 MB, free: 103 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/1.178, allocations: 6.385 MB / 439.7 MB, free: 99.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001388/1.179, allocations: 1.614 MB / 441.3 MB, free: 98.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001499/1.181, allocations: 169.3 kB / 441.5 MB, free: 98.65 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/1.181, allocations: 0 / 441.5 MB, free: 98.65 MB / 362.7 MB Notification: Performance of Templates: time 0.1185/1.299, allocations: 90.81 MB / 0.5198 GB, free: 8.746 MB / 362.7 MB