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_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadModel(Modelica): time 1.865/1.865, allocations: 194.9 MB / 208.4 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.886e-05/2.902e-05, allocations: 2.406 kB / 255.3 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07755/0.0776, allocations: 44.49 MB / 299.8 MB, free: 6.637 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3506/0.4282, allocations: 87.58 MB / 387.4 MB, free: 20.5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.4285, allocations: 80.3 kB / 387.5 MB, free: 20.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4345/0.8631, allocations: 117.6 MB / 0.4933 GB, free: 14.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.033e-06/0.8631, allocations: 0 / 0.4933 GB, free: 14.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004515/0.8636, allocations: 119.8 kB / 0.4934 GB, free: 14.87 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01304/0.8766, allocations: 3.812 MB / 0.4971 GB, free: 11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.8767, allocations: 8.031 kB / 0.4971 GB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00313/0.8799, allocations: 0.5567 MB / 0.4977 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008268/0.8882, allocations: 2.722 MB / 0.5003 GB, free: 7.629 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004352/0.8886, allocations: 291.8 kB / 0.5006 GB, free: 7.344 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001585/0.8902, allocations: 383.9 kB / 0.501 GB, free: 6.969 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01643/0.9067, allocations: 5.578 MB / 0.5064 GB, free: 1.191 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/0.9068, allocations: 7.984 kB / 0.5064 GB, free: 1.184 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001077/0.9079, allocations: 164 kB / 0.5066 GB, free: 1.023 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003054/0.9083, allocations: 215.9 kB / 0.5068 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2539/1.162, allocations: 4.542 MB / 0.5112 GB, free: 47.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04773/1.21, allocations: 16.44 MB / 0.5273 GB, free: 44.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007564/1.218, allocations: 6.715 MB / 0.5338 GB, free: 41.42 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005784/1.223, allocations: 2.615 MB / 0.5364 GB, free: 41.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004559/1.224, allocations: 149.4 kB / 0.5365 GB, free: 41.29 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/1.224, allocations: 64.84 kB / 0.5366 GB, free: 41.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=249): time 7.102e-06/1.224, allocations: 0 / 0.5366 GB, free: 41.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=256): time 0.0177/1.242, allocations: 7.74 MB / 0.5442 GB, free: 40.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/1.242, allocations: 83.09 kB / 0.5442 GB, free: 40.04 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005035/1.247, allocations: 2.33 MB / 0.5465 GB, free: 39.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004481/1.247, allocations: 72.17 kB / 0.5466 GB, free: 39.79 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009839/1.248, allocations: 1.504 MB / 0.5481 GB, free: 39.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001598/1.25, allocations: 0.8394 MB / 0.5489 GB, free: 38.81 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004206/1.25, allocations: 43.88 kB / 0.5489 GB, free: 38.81 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003299/1.251, allocations: 410.9 kB / 0.5493 GB, free: 38.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005387/1.256, allocations: 1.276 MB / 0.5506 GB, free: 38.49 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006185/1.262, allocations: 1.573 MB / 0.5521 GB, free: 38.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006511/1.269, allocations: 1.519 MB / 0.5536 GB, free: 38.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.858e-05/1.269, allocations: 0 / 0.5536 GB, free: 38.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01908/1.288, allocations: 4.146 MB / 0.5576 GB, free: 37.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.71e-05/1.288, allocations: 8.281 kB / 0.5576 GB, free: 37.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.803e-05/1.288, allocations: 4.719 kB / 0.5576 GB, free: 37.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009837/1.298, allocations: 1.406 MB / 0.559 GB, free: 37.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004639/1.303, allocations: 390 kB / 0.5594 GB, free: 37.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04466/1.348, allocations: 23.42 MB / 0.5822 GB, free: 19.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00262/1.35, allocations: 97.31 kB / 0.5823 GB, free: 19.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003618/1.351, allocations: 82.45 kB / 0.5824 GB, free: 19.68 MB / 394.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.0005348/1.351, allocations: 235.4 kB / 0.5826 GB, free: 19.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007566/1.352, allocations: 295 kB / 0.5829 GB, free: 19.35 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008081/1.36, allocations: 4.081 MB / 0.5869 GB, free: 17.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/1.36, allocations: 25.72 kB / 0.5869 GB, free: 17.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/1.36, allocations: 7.906 kB / 0.5869 GB, free: 17.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.268e-05/1.36, allocations: 14.12 kB / 0.587 GB, free: 17.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01951/1.38, allocations: 8.821 MB / 0.5956 GB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/1.38, allocations: 3.281 kB / 0.5956 GB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/1.381, allocations: 297.1 kB / 0.5959 GB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004532/1.386, allocations: 1.365 MB / 0.5972 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003253/1.386, allocations: 65.77 kB / 0.5972 GB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0287/1.415, allocations: 23.15 MB / 0.6199 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.008e-06/1.415, allocations: 3.953 kB / 0.6199 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0117/1.427, allocations: 5.974 MB / 0.6257 GB, free: 9.727 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002326/1.429, allocations: 0.6825 MB / 0.6264 GB, free: 9.316 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008309/1.43, allocations: 57.97 kB / 0.6264 GB, free: 9.277 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002277/1.432, allocations: 139 kB / 0.6266 GB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005957/1.433, allocations: 204.2 kB / 0.6267 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002092/1.433, allocations: 73.27 kB / 0.6268 GB, free: 9.195 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003679/1.437, allocations: 1.818 MB / 0.6286 GB, free: 8.477 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.159e-06/1.437, allocations: 0 / 0.6286 GB, free: 8.477 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005158/1.442, allocations: 0.9778 MB / 0.6295 GB, free: 8.383 MB / 410.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.0008032/1.443, allocations: 253.2 kB / 0.6298 GB, free: 8.262 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009476/1.452, allocations: 4.736 MB / 0.6344 GB, free: 4.992 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/1.453, allocations: 4 kB / 0.6344 GB, free: 4.988 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007038/1.46, allocations: 3.282 MB / 0.6376 GB, free: 1.918 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005395/1.465, allocations: 0.8838 MB / 0.6385 GB, free: 1.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01884/1.484, allocations: 7.023 MB / 0.6453 GB, free: 11.44 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005513/1.489, allocations: 3.17 MB / 0.6484 GB, free: 8.988 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009581/1.49, allocations: 167.3 kB / 0.6486 GB, free: 8.828 MB / 426.7 MB Notification: Performance of SimCode: time 1.956e-06/1.49, allocations: 0 / 0.6486 GB, free: 8.828 MB / 426.7 MB Notification: Performance of Templates: time 0.8776/2.368, allocations: 248.4 MB / 0.8912 GB, free: 88.43 MB / 458.7 MB