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_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadModel(Modelica): time 1.767/1.767, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.987e-05/2.99e-05, allocations: 4 kB / 225 MB, free: 2.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2089, allocations: 38.76 MB / 263.8 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1289/0.3379, allocations: 82.25 MB / 346 MB, free: 7.445 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.3382, allocations: 83.95 kB / 346.1 MB, free: 7.363 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6355/0.9737, allocations: 117.8 MB / 463.9 MB, free: 8.387 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.661e-06/0.9738, allocations: 0 / 463.9 MB, free: 8.387 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000333/0.9741, allocations: 119.8 kB / 464 MB, free: 8.27 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.009871/0.984, allocations: 3.812 MB / 467.8 MB, free: 4.395 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.9841, allocations: 8.031 kB / 467.8 MB, free: 4.387 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002558/0.9866, allocations: 0.5567 MB / 468.4 MB, free: 3.824 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006554/0.9932, allocations: 2.722 MB / 471.1 MB, free: 1.027 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002334/0.9935, allocations: 299.8 kB / 471.4 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009681/0.9945, allocations: 384.3 kB / 471.8 MB, free: 368 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01433/1.009, allocations: 5.535 MB / 477.3 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.909e-05/1.009, allocations: 4 kB / 477.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006175/1.01, allocations: 172 kB / 477.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002898/1.01, allocations: 204 kB / 477.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0123/1.022, allocations: 4.498 MB / 482.2 MB, free: 5.746 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07299/1.095, allocations: 16.44 MB / 498.6 MB, free: 5.031 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2429/1.338, allocations: 6.688 MB / 0.4935 GB, free: 45.22 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004945/1.343, allocations: 2.622 MB / 0.496 GB, free: 45.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004149/1.344, allocations: 152.1 kB / 0.4962 GB, free: 45.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/1.344, allocations: 60.66 kB / 0.4962 GB, free: 45.06 MB / 346.7 MB Notification: Performance of pre-optimization done (n=249): time 6.872e-06/1.344, allocations: 0 / 0.4962 GB, free: 45.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=256): time 0.01736/1.361, allocations: 7.736 MB / 0.5038 GB, free: 44.17 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/1.361, allocations: 82.55 kB / 0.5039 GB, free: 44.1 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00451/1.366, allocations: 2.339 MB / 0.5061 GB, free: 43.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004127/1.366, allocations: 65.58 kB / 0.5062 GB, free: 43.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001209/1.367, allocations: 1.633 MB / 0.5078 GB, free: 43.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008329/1.368, allocations: 0.8405 MB / 0.5086 GB, free: 42.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/1.368, allocations: 48.09 kB / 0.5087 GB, free: 42.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/1.369, allocations: 400.3 kB / 0.509 GB, free: 42.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002404/1.371, allocations: 1.281 MB / 0.5103 GB, free: 42.63 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002463/1.373, allocations: 1.559 MB / 0.5118 GB, free: 42.4 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002766/1.376, allocations: 1.523 MB / 0.5133 GB, free: 42.35 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.575e-06/1.376, allocations: 0 / 0.5133 GB, free: 42.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.00959/1.386, allocations: 4.31 MB / 0.5175 GB, free: 41.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/1.386, allocations: 7.438 kB / 0.5175 GB, free: 41.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/1.386, allocations: 7.75 kB / 0.5175 GB, free: 41.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004484/1.39, allocations: 1.409 MB / 0.5189 GB, free: 41.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002068/1.393, allocations: 388.8 kB / 0.5193 GB, free: 41.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02704/1.42, allocations: 23.41 MB / 0.5421 GB, free: 28.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/1.422, allocations: 97.84 kB / 0.5422 GB, free: 28.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003748/1.423, allocations: 86.81 kB / 0.5423 GB, free: 28.36 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.00055/1.423, allocations: 229.8 kB / 0.5425 GB, free: 28.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007518/1.424, allocations: 301.3 kB / 0.5428 GB, free: 28.04 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007875/1.432, allocations: 4.089 MB / 0.5468 GB, free: 26.38 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.232e-05/1.432, allocations: 24.72 kB / 0.5468 GB, free: 26.38 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.659e-05/1.432, allocations: 10.12 kB / 0.5468 GB, free: 26.38 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.229e-05/1.432, allocations: 13.59 kB / 0.5469 GB, free: 26.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01913/1.451, allocations: 8.814 MB / 0.5555 GB, free: 23.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/1.451, allocations: 3.75 kB / 0.5555 GB, free: 23.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001727/1.453, allocations: 298 kB / 0.5558 GB, free: 23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004668/1.458, allocations: 1.368 MB / 0.5571 GB, free: 22.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003094/1.458, allocations: 57.23 kB / 0.5571 GB, free: 22.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02657/1.484, allocations: 23.16 MB / 0.5798 GB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.586e-06/1.484, allocations: 3.531 kB / 0.5798 GB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01181/1.496, allocations: 5.984 MB / 0.5856 GB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002218/1.499, allocations: 0.6825 MB / 0.5863 GB, free: 1.984 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007112/1.499, allocations: 61.92 kB / 0.5863 GB, free: 1.945 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/1.501, allocations: 132.9 kB / 0.5865 GB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008026/1.502, allocations: 209 kB / 0.5867 GB, free: 1.887 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004928/1.503, allocations: 67.2 kB / 0.5867 GB, free: 1.871 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.007423/1.51, allocations: 1.819 MB / 0.5885 GB, free: 1.152 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.466e-06/1.51, allocations: 0 / 0.5885 GB, free: 1.152 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00946/1.52, allocations: 0.971 MB / 0.5895 GB, free: 0.7617 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.001122/1.521, allocations: 260 kB / 0.5897 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.02387/1.545, allocations: 4.795 MB / 0.5944 GB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.936e-06/1.545, allocations: 0 / 0.5944 GB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01207/1.557, allocations: 3.197 MB / 0.5975 GB, free: 9.797 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009279/1.566, allocations: 0.8925 MB / 0.5984 GB, free: 9.121 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02847/1.595, allocations: 7.027 MB / 0.6052 GB, free: 3.137 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00487/1.6, allocations: 3.246 MB / 0.6084 GB, free: 0.6445 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00262/1.602, allocations: 0.5653 MB / 0.609 GB, free: 248 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000668/1.603, allocations: 163 kB / 0.6091 GB, free: 88 kB / 362.7 MB Notification: Performance of SimCode: time 1.636e-06/1.603, allocations: 0 / 0.6091 GB, free: 88 kB / 362.7 MB Notification: Performance of Templates: time 0.351/1.954, allocations: 57.92 MB / 0.6657 GB, free: 66.23 MB / 378.7 MB