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.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadModel(Modelica): time 1.882/1.882, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.841e-05/2.835e-05, allocations: 4 kB / 258.8 MB, free: 8.047 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2964, allocations: 44.5 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.0138/0.3103, allocations: 8.639 MB / 312 MB, free: 4.949 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008141/0.3185, allocations: 2.942 MB / 314.9 MB, free: 2 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002273/0.3208, allocations: 91.62 kB / 315 MB, free: 1.91 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002072/0.3229, allocations: 0.5633 MB / 315.6 MB, free: 1.344 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004103/0.327, allocations: 0.8605 MB / 316.4 MB, free: 492 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.3284, allocations: 303.7 kB / 316.7 MB, free: 188 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006056/0.3345, allocations: 2.511 MB / 319.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004259/0.3388, allocations: 2.157 MB / 321.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002959/0.3418, allocations: 1.301 MB / 322.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004085/0.3459, allocations: 1.705 MB / 324.4 MB, free: 8.469 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.348, allocations: 243.9 kB / 324.6 MB, free: 8.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009676/0.349, allocations: 183.9 kB / 324.8 MB, free: 8.051 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001533/0.3505, allocations: 1.036 MB / 325.8 MB, free: 7.012 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001749/0.3523, allocations: 428 kB / 326.3 MB, free: 6.594 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01048/0.3628, allocations: 6.817 MB / 333.1 MB, free: 15.76 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3629, allocations: 0 / 333.1 MB, free: 15.76 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.025e-06/0.3629, allocations: 0 / 333.1 MB, free: 15.76 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002497/0.3631, allocations: 0 / 333.1 MB, free: 15.76 MB / 282.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.01351/0.3767, allocations: 3.895 MB / 337 MB, free: 11.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.3767, allocations: 8.031 kB / 337 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003102/0.3799, allocations: 0.5489 MB / 337.5 MB, free: 11.23 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007513/0.3874, allocations: 2.511 MB / 340 MB, free: 8.648 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003453/0.3878, allocations: 295.8 kB / 340.3 MB, free: 8.359 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001281/0.3891, allocations: 376 kB / 340.7 MB, free: 7.992 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01752/0.4066, allocations: 5.742 MB / 346.4 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.672e-05/0.4068, allocations: 0 / 346.4 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006155/0.4074, allocations: 164 kB / 346.6 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003221/0.4078, allocations: 204 kB / 346.8 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01576/0.4235, allocations: 5.001 MB / 351.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04534/0.4689, allocations: 16.51 MB / 368.3 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01114/0.4801, allocations: 6.801 MB / 375.1 MB, free: 4.633 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005715/0.4808, allocations: 143 kB / 375.3 MB, free: 4.477 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.535e-05/0.4808, allocations: 56.56 kB / 375.3 MB, free: 4.414 MB / 314.7 MB Notification: Performance of pre-optimization done (n=249): time 5.691e-06/0.4809, allocations: 0 / 375.3 MB, free: 4.414 MB / 314.7 MB Notification: Performance of matching and sorting (n=256): time 0.03499/0.5159, allocations: 10.8 MB / 386.1 MB, free: 9.363 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/0.516, allocations: 77.42 kB / 386.2 MB, free: 9.273 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005709/0.5217, allocations: 2.335 MB / 388.5 MB, free: 6.922 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005175/0.5223, allocations: 69.7 kB / 388.6 MB, free: 6.848 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001747/0.524, allocations: 1.636 MB / 390.2 MB, free: 5.191 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001306/0.5254, allocations: 0.8433 MB / 391.1 MB, free: 4.336 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.5256, allocations: 44 kB / 391.1 MB, free: 4.293 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002662/0.5259, allocations: 406.7 kB / 391.5 MB, free: 3.891 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003655/0.5295, allocations: 1.351 MB / 392.9 MB, free: 2.535 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004031/0.5336, allocations: 1.662 MB / 394.5 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004222/0.5379, allocations: 1.585 MB / 396.1 MB, free: 15.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.475e-05/0.5379, allocations: 3.953 kB / 396.1 MB, free: 15.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.01307/0.551, allocations: 4.484 MB / 400.6 MB, free: 10.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.5511, allocations: 13.94 kB / 400.6 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.5511, allocations: 4 kB / 400.6 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009424/0.5606, allocations: 1.628 MB / 402.2 MB, free: 8.926 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003513/0.5641, allocations: 391.5 kB / 402.6 MB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2959/0.8601, allocations: 23.88 MB / 426.5 MB, free: 100.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003195/0.8633, allocations: 99.7 kB / 426.6 MB, free: 100.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000466/0.8638, allocations: 76.97 kB / 426.7 MB, free: 100.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (198): * Single equations (assignments): 188 * 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.003968/0.8678, allocations: 1.407 MB / 428.1 MB, free: 100.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/0.8689, allocations: 294.9 kB / 428.4 MB, free: 100.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/0.8804, allocations: 4.428 MB / 432.8 MB, free: 99.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.55e-05/0.8805, allocations: 21.22 kB / 432.8 MB, free: 99.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.221e-05/0.8805, allocations: 8.438 kB / 432.8 MB, free: 99.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.585e-05/0.8806, allocations: 11.34 kB / 432.8 MB, free: 99.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.022/0.9026, allocations: 8.945 MB / 441.8 MB, free: 95.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/0.9026, allocations: 0 / 441.8 MB, free: 95.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002357/0.905, allocations: 295.1 kB / 442.1 MB, free: 95.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008019/0.913, allocations: 1.598 MB / 443.7 MB, free: 94.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004144/0.9135, allocations: 59.98 kB / 443.7 MB, free: 94.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03132/0.9448, allocations: 23.64 MB / 467.4 MB, free: 69.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.9449, allocations: 3.953 kB / 467.4 MB, free: 69.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/0.959, allocations: 6.189 MB / 473.6 MB, free: 63.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002198/0.9613, allocations: 0.6956 MB / 474.3 MB, free: 62.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008394/0.9621, allocations: 55.98 kB / 474.3 MB, free: 62.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002588/0.9648, allocations: 133 kB / 474.4 MB, free: 62.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006927/0.9655, allocations: 213.6 kB / 474.7 MB, free: 62.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002137/0.9657, allocations: 67.92 kB / 474.7 MB, free: 62.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003686/0.9694, allocations: 1.83 MB / 476.5 MB, free: 60.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.9694, allocations: 0 / 476.5 MB, free: 60.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004789/0.9742, allocations: 0.9602 MB / 477.5 MB, free: 59.3 MB / 362.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.0008128/0.9751, allocations: 201.7 kB / 477.7 MB, free: 59.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01021/0.9853, allocations: 4.881 MB / 482.6 MB, free: 54.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.9854, allocations: 7.875 kB / 482.6 MB, free: 54.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01048/0.9959, allocations: 3.386 MB / 486 MB, free: 50.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009055/1.005, allocations: 0.8815 MB / 486.9 MB, free: 49.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03307/1.038, allocations: 9.91 MB / 496.8 MB, free: 39.78 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007358/1.046, allocations: 3.249 MB / 0.4883 GB, free: 36.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004612/1.05, allocations: 0.5713 MB / 0.4889 GB, free: 35.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/1.052, allocations: 167.4 kB / 0.489 GB, free: 35.75 MB / 362.7 MB Notification: Performance of SimCode: time 2.024e-06/1.052, allocations: 0 / 0.489 GB, free: 35.75 MB / 362.7 MB Notification: Performance of Templates: time 0.1565/1.208, allocations: 56.84 MB / 0.5445 GB, free: 10.85 MB / 394.7 MB