Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadModel(Modelica): time 1.853/1.853, allocations: 205.8 MB / 218.9 MB, free: 9.355 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.405e-05/2.415e-05, allocations: 0 / 269.4 MB, free: 6.41 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08604/0.08608, allocations: 47.57 MB / 316.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3759/0.462, allocations: 111 MB / 428 MB, free: 9.477 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.4623, allocations: 83.52 kB / 428 MB, free: 9.434 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2175/0.6798, allocations: 53.18 MB / 481.2 MB, free: 11.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.181e-06/0.6799, allocations: 0 / 481.2 MB, free: 11.13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001612/0.6801, allocations: 59.92 kB / 481.3 MB, free: 11.07 MB / 394.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.006041/0.6861, allocations: 2.228 MB / 483.5 MB, free: 8.785 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.6862, allocations: 12.03 kB / 483.5 MB, free: 8.773 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000755/0.687, allocations: 272.8 kB / 483.8 MB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003399/0.6904, allocations: 1.342 MB / 485.1 MB, free: 7.109 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003016/0.6907, allocations: 240.9 kB / 485.4 MB, free: 6.855 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007463/0.6915, allocations: 251.7 kB / 485.6 MB, free: 6.609 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005066/0.6965, allocations: 2.052 MB / 487.7 MB, free: 4.469 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.843e-05/0.6966, allocations: 11.88 kB / 487.7 MB, free: 4.457 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002833/0.6969, allocations: 80 kB / 487.8 MB, free: 4.379 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.466e-05/0.697, allocations: 48 kB / 487.8 MB, free: 4.332 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004731/0.7017, allocations: 1.718 MB / 489.5 MB, free: 2.613 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01842/0.7202, allocations: 7.907 MB / 497.4 MB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00417/0.7244, allocations: 1.927 MB / 499.4 MB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003205/0.7277, allocations: 1.347 MB / 0.489 GB, free: 7.141 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.7278, allocations: 29.98 kB / 0.489 GB, free: 7.113 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.411e-05/0.7279, allocations: 60.55 kB / 0.4891 GB, free: 7.043 MB / 410.7 MB Notification: Performance of pre-optimization done (n=208): time 6.012e-06/0.7279, allocations: 0 / 0.4891 GB, free: 7.043 MB / 410.7 MB Notification: Performance of matching and sorting (n=250): time 0.05761/0.7855, allocations: 12.64 MB / 0.5014 GB, free: 10.33 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002503/0.7858, allocations: 389.8 kB / 0.5018 GB, free: 9.867 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003027/0.7889, allocations: 1.322 MB / 0.5031 GB, free: 8.539 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004774/0.7894, allocations: 69.7 kB / 0.5031 GB, free: 8.465 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008607/0.7902, allocations: 0.7965 MB / 0.5039 GB, free: 7.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001024/0.7913, allocations: 0.8392 MB / 0.5047 GB, free: 6.809 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/0.7915, allocations: 56 kB / 0.5048 GB, free: 6.754 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002652/0.7918, allocations: 394.7 kB / 0.5052 GB, free: 6.363 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002501/0.7943, allocations: 0.9107 MB / 0.506 GB, free: 5.449 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002844/0.7972, allocations: 1.132 MB / 0.5071 GB, free: 4.262 MB / 426.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.2609/1.058, allocations: 7.093 MB / 0.5141 GB, free: 112.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.766e-06/1.058, allocations: 2.406 kB / 0.5141 GB, free: 112.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.02589/1.084, allocations: 5.853 MB / 0.5198 GB, free: 112.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/1.084, allocations: 5.875 kB / 0.5198 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.706e-05/1.084, allocations: 7.312 kB / 0.5198 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02185/1.106, allocations: 3.602 MB / 0.5233 GB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002204/1.108, allocations: 377.8 kB / 0.5237 GB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04808/1.156, allocations: 24.61 MB / 0.5477 GB, free: 98.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002974/1.159, allocations: 140.6 kB / 0.5478 GB, free: 98.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003006/1.16, allocations: 90.36 kB / 0.5479 GB, free: 98.61 MB / 426.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.0006264/1.16, allocations: 227.7 kB / 0.5481 GB, free: 98.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005471/1.161, allocations: 212.8 kB / 0.5484 GB, free: 98.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008471/1.169, allocations: 3.227 MB / 0.5515 GB, free: 96.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.854e-05/1.17, allocations: 30.22 kB / 0.5515 GB, free: 96.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/1.17, allocations: 7.547 kB / 0.5515 GB, free: 96.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.123e-05/1.17, allocations: 11.2 kB / 0.5516 GB, free: 96.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01654/1.186, allocations: 6.1 MB / 0.5575 GB, free: 94.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.4e-05/1.186, allocations: 0 / 0.5575 GB, free: 94.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003195/1.189, allocations: 438.6 kB / 0.5579 GB, free: 94.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007367/1.197, allocations: 1.19 MB / 0.5591 GB, free: 94.01 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004861/1.197, allocations: 61.44 kB / 0.5591 GB, free: 93.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02228/1.22, allocations: 16.94 MB / 0.5757 GB, free: 79.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.665e-06/1.22, allocations: 0 / 0.5757 GB, free: 79.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01348/1.233, allocations: 4.773 MB / 0.5803 GB, free: 77.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/1.235, allocations: 0.5337 MB / 0.5809 GB, free: 76.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004339/1.235, allocations: 62.45 kB / 0.5809 GB, free: 76.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0023/1.238, allocations: 150.3 kB / 0.5811 GB, free: 76.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005544/1.238, allocations: 205.6 kB / 0.5813 GB, free: 76.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002252/1.238, allocations: 74.31 kB / 0.5813 GB, free: 76.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001783/1.24, allocations: 1.01 MB / 0.5823 GB, free: 76.06 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.63e-07/1.24, allocations: 0 / 0.5823 GB, free: 76.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004054/1.244, allocations: 0.7724 MB / 0.5831 GB, free: 75.97 MB / 426.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.0007391/1.245, allocations: 291.5 kB / 0.5834 GB, free: 75.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006638/1.252, allocations: 3.642 MB / 0.5869 GB, free: 73.13 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.291e-06/1.252, allocations: 4 kB / 0.5869 GB, free: 73.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004428/1.256, allocations: 2.422 MB / 0.5893 GB, free: 70.72 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/1.259, allocations: 327.4 kB / 0.5896 GB, free: 70.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009254/1.268, allocations: 4.395 MB / 0.5939 GB, free: 66.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/1.269, allocations: 1.647 MB / 0.5955 GB, free: 65.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001721/1.271, allocations: 262.2 kB / 0.5957 GB, free: 65.03 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006781/1.272, allocations: 134.9 kB / 0.5959 GB, free: 64.91 MB / 426.7 MB Notification: Performance of SimCode: time 1.765e-06/1.272, allocations: 0 / 0.5959 GB, free: 64.91 MB / 426.7 MB Notification: Performance of Templates: time 0.08887/1.361, allocations: 43.23 MB / 0.6381 GB, free: 31.18 MB / 426.7 MB