Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadModel(Modelica): time 1.912/1.912, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.676e-05/2.683e-05, allocations: 7.938 kB / 249.6 MB, free: 15.27 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3059, allocations: 44.5 MB / 294.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.12/0.426, allocations: 78.59 MB / 372.7 MB, free: 3.375 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/0.4263, allocations: 91.88 kB / 372.8 MB, free: 3.285 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1051/0.5315, allocations: 20.15 MB / 393 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.948e-06/0.5316, allocations: 0 / 393 MB, free: 14.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001705/0.5318, allocations: 35.92 kB / 393 MB, free: 14.94 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.005658/0.5374, allocations: 1.283 MB / 394.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.5e-05/0.5375, allocations: 8.031 kB / 394.3 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007995/0.5384, allocations: 146.3 kB / 394.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01047/0.5488, allocations: 1.659 MB / 396.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.835e-05/0.549, allocations: 32 kB / 396.1 MB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004142/0.5494, allocations: 60 kB / 396.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00585/0.5553, allocations: 1.109 MB / 397.3 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006892/0.5623, allocations: 1.251 MB / 398.5 MB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-05/0.5624, allocations: 8 kB / 398.5 MB, free: 9.234 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003116/0.5628, allocations: 7.984 kB / 398.5 MB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001478/0.5629, allocations: 41.94 kB / 398.6 MB, free: 9.184 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01243/0.5754, allocations: 4.139 MB / 402.7 MB, free: 4.961 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002649/0.5781, allocations: 1.915 MB / 404.6 MB, free: 2.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/0.5793, allocations: 0.607 MB / 405.2 MB, free: 2.215 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.208e-05/0.5794, allocations: 12.7 kB / 405.3 MB, free: 2.203 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001127/0.5805, allocations: 0.5513 MB / 405.8 MB, free: 1.629 MB / 346.7 MB Notification: Performance of pre-optimization done (n=75): time 4.051e-06/0.5805, allocations: 0 / 405.8 MB, free: 1.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=75): time 0.002781/0.5833, allocations: 1.156 MB / 407 MB, free: 476 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.524e-05/0.5834, allocations: 115.6 kB / 407.1 MB, free: 336 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.5848, allocations: 0.6558 MB / 407.7 MB, free: 15.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001248/0.5849, allocations: 33.7 kB / 407.8 MB, free: 15.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005349/0.5855, allocations: 490.3 kB / 408.2 MB, free: 15.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000309/0.5858, allocations: 232.5 kB / 408.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.5859, allocations: 4 kB / 408.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.5861, allocations: 338.8 kB / 408.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007424/0.5868, allocations: 365.4 kB / 409.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008649/0.5877, allocations: 0.498 MB / 409.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007935/0.5885, allocations: 401.9 kB / 410.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.137e-06/0.5886, allocations: 0 / 410.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002547/0.5911, allocations: 1.12 MB / 411.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.436e-05/0.5912, allocations: 13.98 kB / 411.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.5912, allocations: 0 / 411.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/0.5928, allocations: 464.8 kB / 411.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005285/0.5933, allocations: 91.89 kB / 411.7 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01181/0.6051, allocations: 4.968 MB / 416.7 MB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.6063, allocations: 67.48 kB / 416.8 MB, free: 6.426 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.6064, allocations: 24.06 kB / 416.8 MB, free: 6.402 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.0003362/0.6068, allocations: 133.4 kB / 416.9 MB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002715/0.6071, allocations: 86.97 kB / 417 MB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004128/0.6075, allocations: 104.5 kB / 417.1 MB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/0.6075, allocations: 8 kB / 417.1 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.162e-06/0.6075, allocations: 0 / 417.1 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/0.6076, allocations: 7.922 kB / 417.1 MB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007542/0.6151, allocations: 2.378 MB / 419.5 MB, free: 3.625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/0.6152, allocations: 4.125 kB / 419.5 MB, free: 3.621 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006212/0.6158, allocations: 67.91 kB / 419.6 MB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002004/0.6179, allocations: 448.7 kB / 420 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.618, allocations: 3.984 kB / 420 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2138/0.8319, allocations: 4.93 MB / 424.9 MB, free: 101.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.994e-06/0.8319, allocations: 0 / 424.9 MB, free: 101.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003083/0.835, allocations: 1.789 MB / 426.7 MB, free: 101.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004722/0.8355, allocations: 271.4 kB / 427 MB, free: 101.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.8357, allocations: 4.75 kB / 427 MB, free: 101.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005441/0.8362, allocations: 35.48 kB / 427 MB, free: 101.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002247/0.8365, allocations: 77.16 kB / 427.1 MB, free: 101.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.992e-05/0.8365, allocations: 20.28 kB / 427.1 MB, free: 101.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008357/0.8374, allocations: 0.5128 MB / 427.6 MB, free: 101 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.89e-07/0.8374, allocations: 0 / 427.6 MB, free: 101 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001286/0.8387, allocations: 312.2 kB / 428 MB, free: 101 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002089/0.8389, allocations: 122.8 kB / 428.1 MB, free: 100.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002248/0.8412, allocations: 1.167 MB / 429.2 MB, free: 100.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.701e-06/0.8412, allocations: 3.562 kB / 429.2 MB, free: 100.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001364/0.8426, allocations: 0.7496 MB / 430 MB, free: 100.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.8439, allocations: 216.7 kB / 430.2 MB, free: 100.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004465/0.8484, allocations: 1.763 MB / 432 MB, free: 100.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/0.8495, allocations: 1.332 MB / 433.3 MB, free: 99.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/0.8497, allocations: 48.25 kB / 433.3 MB, free: 99.46 MB / 362.7 MB Notification: Performance of SimCode: time 1.699e-06/0.8497, allocations: 0 / 433.3 MB, free: 99.46 MB / 362.7 MB Notification: Performance of Templates: time 0.02645/0.8762, allocations: 19.26 MB / 452.6 MB, free: 93.65 MB / 362.7 MB