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.681/1.681, allocations: 171.2 MB / 185.7 MB, free: 1.402 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.765e-05/2.762e-05, allocations: 4 kB / 228.1 MB, free: 7.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0843/0.08435, allocations: 38.78 MB / 266.9 MB, free: 484 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01442/0.09881, allocations: 8.612 MB / 275.5 MB, free: 7.816 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008193/0.107, allocations: 2.919 MB / 278.5 MB, free: 4.891 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002222/0.1093, allocations: 91.62 kB / 278.5 MB, free: 4.801 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002512/0.1119, allocations: 0.5633 MB / 279.1 MB, free: 4.234 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004186/0.1161, allocations: 0.8682 MB / 280 MB, free: 3.363 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.1179, allocations: 295.7 kB / 280.3 MB, free: 3.074 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.006353/0.1243, allocations: 2.523 MB / 282.8 MB, free: 0.543 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004835/0.1292, allocations: 2.153 MB / 284.9 MB, free: 14.36 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002945/0.1322, allocations: 1.305 MB / 286.2 MB, free: 13.05 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003915/0.1362, allocations: 1.709 MB / 288 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.1379, allocations: 243.9 kB / 288.2 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008133/0.1388, allocations: 180 kB / 288.4 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001487/0.1403, allocations: 1.04 MB / 289.4 MB, free: 9.883 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001802/0.1421, allocations: 428 kB / 289.8 MB, free: 9.465 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.1527, allocations: 6.821 MB / 296.6 MB, free: 2.625 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1527, allocations: 0 / 296.6 MB, free: 2.625 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.1528, allocations: 0 / 296.6 MB, free: 2.625 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0002534/0.153, allocations: 0 / 296.6 MB, free: 2.625 MB / 250.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.2362/0.3892, allocations: 3.887 MB / 300.5 MB, free: 13.2 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.3893, allocations: 9.625 kB / 300.5 MB, free: 13.2 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003194/0.3925, allocations: 0.5517 MB / 301.1 MB, free: 12.95 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00928/0.4018, allocations: 2.515 MB / 303.6 MB, free: 12.4 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004222/0.4023, allocations: 294.8 kB / 303.9 MB, free: 12.39 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001442/0.4037, allocations: 390.9 kB / 304.3 MB, free: 12.39 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01853/0.4223, allocations: 5.73 MB / 310 MB, free: 12.08 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001385/0.4225, allocations: 5.188 kB / 310 MB, free: 12.08 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009072/0.4234, allocations: 166 kB / 310.2 MB, free: 12.07 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003375/0.4237, allocations: 214.3 kB / 310.4 MB, free: 12.06 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0153/0.4391, allocations: 4.991 MB / 315.4 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04659/0.4857, allocations: 16.51 MB / 331.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01681/0.5026, allocations: 6.805 MB / 338.7 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007989/0.5034, allocations: 137.1 kB / 338.8 MB, free: 4.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.823e-05/0.5035, allocations: 60.56 kB / 338.9 MB, free: 4.434 MB / 266.7 MB Notification: Performance of pre-optimization done (n=249): time 6.101e-06/0.5036, allocations: 0 / 338.9 MB, free: 4.434 MB / 266.7 MB Notification: Performance of matching and sorting (n=256): time 0.03799/0.5416, allocations: 10.79 MB / 349.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.532e-05/0.5417, allocations: 81.42 kB / 349.8 MB, free: 9.355 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006125/0.5478, allocations: 2.347 MB / 352.1 MB, free: 6.992 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005267/0.5484, allocations: 69.7 kB / 352.2 MB, free: 6.918 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001968/0.5504, allocations: 1.639 MB / 353.8 MB, free: 5.262 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001395/0.5518, allocations: 0.8411 MB / 354.7 MB, free: 4.43 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.5521, allocations: 51.94 kB / 354.7 MB, free: 4.379 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002885/0.5524, allocations: 406.7 kB / 355.1 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003988/0.5564, allocations: 1.355 MB / 356.5 MB, free: 2.617 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004634/0.561, allocations: 1.654 MB / 358.1 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004956/0.5661, allocations: 1.591 MB / 359.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-05/0.5662, allocations: 0 / 359.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.01452/0.5807, allocations: 4.49 MB / 364.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.947e-05/0.5808, allocations: 8 kB / 364.2 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.495e-05/0.5808, allocations: 8 kB / 364.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009303/0.5902, allocations: 1.629 MB / 365.8 MB, free: 9.102 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003252/0.5935, allocations: 395.9 kB / 366.2 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0481/0.6416, allocations: 23.89 MB / 390.1 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004155/0.6458, allocations: 103.9 kB / 390.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006524/0.6465, allocations: 72 kB / 390.3 MB, free: 15.5 MB / 330.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.005121/0.6517, allocations: 1.417 MB / 391.7 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00143/0.6531, allocations: 296.5 kB / 392 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01926/0.6724, allocations: 4.419 MB / 396.4 MB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-05/0.6725, allocations: 24 kB / 396.4 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.241e-05/0.6726, allocations: 11.98 kB / 396.4 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-05/0.6726, allocations: 11.95 kB / 396.5 MB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03288/0.7055, allocations: 8.955 MB / 405.4 MB, free: 344 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.243e-05/0.7056, allocations: 0 / 405.4 MB, free: 344 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002545/0.7082, allocations: 292.7 kB / 405.7 MB, free: 64 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009558/0.7178, allocations: 1.6 MB / 407.3 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005911/0.7184, allocations: 55.98 kB / 407.4 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05636/0.7748, allocations: 23.64 MB / 431 MB, free: 5.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.7749, allocations: 0 / 431 MB, free: 5.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2651/1.04, allocations: 6.191 MB / 437.2 MB, free: 117.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002645/1.043, allocations: 0.6926 MB / 437.9 MB, free: 117.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001194/1.044, allocations: 54.92 kB / 437.9 MB, free: 117.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003293/1.047, allocations: 134.2 kB / 438.1 MB, free: 117.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009919/1.048, allocations: 210.5 kB / 438.3 MB, free: 117.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002817/1.049, allocations: 67.52 kB / 438.3 MB, free: 117.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004887/1.054, allocations: 1.839 MB / 440.2 MB, free: 117.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.82e-07/1.054, allocations: 1.031 kB / 440.2 MB, free: 117.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005306/1.059, allocations: 0.9584 MB / 441.1 MB, free: 117.5 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.0009587/1.06, allocations: 214 kB / 441.3 MB, free: 117.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0119/1.072, allocations: 4.881 MB / 446.2 MB, free: 116.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/1.072, allocations: 1.125 kB / 446.2 MB, free: 116.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00817/1.08, allocations: 3.385 MB / 449.6 MB, free: 114.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007414/1.087, allocations: 0.886 MB / 450.5 MB, free: 114 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03441/1.122, allocations: 9.914 MB / 460.4 MB, free: 108.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007887/1.13, allocations: 3.252 MB / 463.7 MB, free: 107.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00487/1.135, allocations: 0.5757 MB / 464.2 MB, free: 107.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/1.136, allocations: 166.8 kB / 464.4 MB, free: 107.5 MB / 362.7 MB Notification: Performance of SimCode: time 1.332e-06/1.136, allocations: 0 / 464.4 MB, free: 107.5 MB / 362.7 MB Notification: Performance of Templates: time 0.1379/1.274, allocations: 56.86 MB / 0.509 GB, free: 53.5 MB / 362.7 MB