Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadModel(Modelica): time 1.713/1.713, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.931e-05/2.95e-05, allocations: 4 kB / 225 MB, free: 2.777 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2156, allocations: 38.77 MB / 263.8 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1232/0.3388, allocations: 82.25 MB / 346 MB, free: 7.488 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.3391, allocations: 79.95 kB / 346.1 MB, free: 7.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6026/0.9418, allocations: 117.8 MB / 463.8 MB, free: 8.441 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.28e-06/0.9419, allocations: 0 / 463.8 MB, free: 8.441 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0006728/0.9426, allocations: 119.8 kB / 464 MB, free: 8.324 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01951/0.9621, allocations: 3.82 MB / 467.8 MB, free: 4.441 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.386e-05/0.9622, allocations: 12.03 kB / 467.8 MB, free: 4.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00495/0.9672, allocations: 0.5527 MB / 468.3 MB, free: 3.871 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0133/0.9805, allocations: 2.722 MB / 471.1 MB, free: 1.074 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005357/0.9811, allocations: 291.8 kB / 471.4 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002196/0.9833, allocations: 384.3 kB / 471.7 MB, free: 424 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02779/1.011, allocations: 5.535 MB / 477.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001707/1.011, allocations: 0 / 477.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001277/1.013, allocations: 172 kB / 477.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005299/1.013, allocations: 208 kB / 477.6 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01507/1.028, allocations: 4.494 MB / 482.1 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04552/1.074, allocations: 16.44 MB / 498.6 MB, free: 5.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2179/1.292, allocations: 6.691 MB / 0.4934 GB, free: 46.05 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005292/1.297, allocations: 2.626 MB / 0.496 GB, free: 46.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004424/1.298, allocations: 150 kB / 0.4961 GB, free: 45.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/1.298, allocations: 61.56 kB / 0.4962 GB, free: 45.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=249): time 7.971e-06/1.298, allocations: 7.25 kB / 0.4962 GB, free: 45.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=256): time 0.01919/1.317, allocations: 7.732 MB / 0.5037 GB, free: 45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/1.317, allocations: 79.3 kB / 0.5038 GB, free: 44.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004875/1.322, allocations: 2.339 MB / 0.5061 GB, free: 44.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004372/1.322, allocations: 69.02 kB / 0.5062 GB, free: 44.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001085/1.324, allocations: 1.504 MB / 0.5076 GB, free: 44.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009357/1.325, allocations: 0.836 MB / 0.5085 GB, free: 43.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/1.325, allocations: 47 kB / 0.5085 GB, free: 43.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/1.325, allocations: 407.3 kB / 0.5089 GB, free: 43.4 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002451/1.327, allocations: 1.283 MB / 0.5101 GB, free: 43.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002741/1.33, allocations: 1.561 MB / 0.5117 GB, free: 43.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002967/1.333, allocations: 1.515 MB / 0.5132 GB, free: 43.11 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/1.333, allocations: 6 kB / 0.5132 GB, free: 43.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009211/1.342, allocations: 4.131 MB / 0.5172 GB, free: 42.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/1.342, allocations: 7 kB / 0.5172 GB, free: 42.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/1.343, allocations: 3.562 kB / 0.5172 GB, free: 42.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004658/1.347, allocations: 1.407 MB / 0.5186 GB, free: 42.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/1.349, allocations: 392.3 kB / 0.5189 GB, free: 42.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02751/1.377, allocations: 23.41 MB / 0.5418 GB, free: 29.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002671/1.379, allocations: 92.92 kB / 0.5419 GB, free: 29.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003452/1.38, allocations: 87.95 kB / 0.542 GB, free: 29.25 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 186 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005233/1.38, allocations: 230.1 kB / 0.5422 GB, free: 29.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007095/1.381, allocations: 300.5 kB / 0.5425 GB, free: 28.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008102/1.389, allocations: 4.094 MB / 0.5465 GB, free: 27.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.493e-05/1.389, allocations: 25.34 kB / 0.5465 GB, free: 27.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/1.389, allocations: 7.906 kB / 0.5465 GB, free: 27.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.731e-05/1.389, allocations: 15.98 kB / 0.5465 GB, free: 27.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01989/1.409, allocations: 8.811 MB / 0.5551 GB, free: 23.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.006e-05/1.409, allocations: 0 / 0.5551 GB, free: 23.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001781/1.411, allocations: 290.4 kB / 0.5554 GB, free: 23.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004922/1.416, allocations: 1.377 MB / 0.5568 GB, free: 23.51 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003774/1.416, allocations: 57.06 kB / 0.5568 GB, free: 23.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02747/1.444, allocations: 23.16 MB / 0.5794 GB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.097e-06/1.444, allocations: 0 / 0.5794 GB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/1.456, allocations: 5.978 MB / 0.5853 GB, free: 3.316 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002261/1.458, allocations: 0.6904 MB / 0.5859 GB, free: 2.906 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008055/1.459, allocations: 59.61 kB / 0.586 GB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002333/1.461, allocations: 124.8 kB / 0.5861 GB, free: 2.836 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007038/1.462, allocations: 212.4 kB / 0.5863 GB, free: 2.809 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002524/1.462, allocations: 67.3 kB / 0.5864 GB, free: 2.793 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003804/1.466, allocations: 1.819 MB / 0.5882 GB, free: 2.074 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.658e-06/1.466, allocations: 0 / 0.5882 GB, free: 2.074 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005189/1.471, allocations: 0.9727 MB / 0.5891 GB, free: 1.793 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007133/1.472, allocations: 261.6 kB / 0.5894 GB, free: 1.594 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01428/1.486, allocations: 4.928 MB / 0.5942 GB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.997e-06/1.486, allocations: 0 / 0.5942 GB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006684/1.493, allocations: 3.183 MB / 0.5973 GB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005523/1.499, allocations: 0.8983 MB / 0.5982 GB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01854/1.517, allocations: 6.975 MB / 0.605 GB, free: 4.539 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005452/1.523, allocations: 3.171 MB / 0.6081 GB, free: 2.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/1.524, allocations: 166.7 kB / 0.6082 GB, free: 1.93 MB / 362.7 MB Notification: Performance of SimCode: time 1.785e-06/1.524, allocations: 0 / 0.6082 GB, free: 1.93 MB / 362.7 MB Notification: Performance of Templates: time 0.8242/2.348, allocations: 248.3 MB / 0.8507 GB, free: 79.5 MB / 410.7 MB