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.765/1.765, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.688e-05/2.704e-05, allocations: 7.406 kB / 255.4 MB, free: 3.172 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0762/0.07624, allocations: 44.5 MB / 299.9 MB, free: 6.617 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3592/0.4355, allocations: 79.26 MB / 379.1 MB, free: 22.11 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.4358, allocations: 84.28 kB / 379.2 MB, free: 22.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07224/0.5081, allocations: 20.37 MB / 399.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.5081, allocations: 0 / 399.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.359e-05/0.5082, allocations: 31.44 kB / 399.6 MB, free: 19.02 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002476/0.5107, allocations: 1.274 MB / 400.9 MB, free: 18.33 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.5108, allocations: 7.688 kB / 400.9 MB, free: 18.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002964/0.5111, allocations: 147.7 kB / 401.1 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005215/0.5163, allocations: 1.676 MB / 402.7 MB, free: 17.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.564e-05/0.5164, allocations: 77.2 kB / 402.8 MB, free: 17.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/0.5166, allocations: 98.66 kB / 402.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002619/0.5193, allocations: 1.376 MB / 404.3 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.664e-05/0.5193, allocations: 3.906 kB / 404.3 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/0.5195, allocations: 38.19 kB / 404.3 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.999e-05/0.5196, allocations: 44.89 kB / 404.4 MB, free: 17.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0023/0.5219, allocations: 1.156 MB / 405.5 MB, free: 17.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007601/0.5295, allocations: 4.34 MB / 409.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/0.5314, allocations: 1.932 MB / 411.8 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/0.5328, allocations: 0.7308 MB / 412.5 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.236e-05/0.5329, allocations: 8.688 kB / 412.5 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009873/0.5339, allocations: 0.5722 MB / 413.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=75): time 4.601e-06/0.534, allocations: 3.969 kB / 413.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.002524/0.5365, allocations: 1.216 MB / 414.3 MB, free: 13.26 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.5366, allocations: 119.3 kB / 414.4 MB, free: 13.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.5378, allocations: 0.7288 MB / 415.2 MB, free: 12.92 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.028e-05/0.5379, allocations: 40.48 kB / 415.2 MB, free: 12.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/0.5382, allocations: 494.8 kB / 415.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.5384, allocations: 243.7 kB / 415.9 MB, free: 12.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-05/0.5385, allocations: 10.56 kB / 415.9 MB, free: 12.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.742e-05/0.5386, allocations: 348.5 kB / 416.3 MB, free: 12.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006683/0.5393, allocations: 369 kB / 416.6 MB, free: 12.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007586/0.54, allocations: 0.5131 MB / 417.1 MB, free: 11.81 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00074/0.5408, allocations: 417 kB / 417.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.479e-06/0.5408, allocations: 0 / 417.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002258/0.5431, allocations: 1.186 MB / 418.7 MB, free: 11.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.5431, allocations: 7.812 kB / 418.7 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.5432, allocations: 7.891 kB / 418.8 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001408/0.5446, allocations: 469.8 kB / 419.2 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004668/0.5451, allocations: 92.11 kB / 419.3 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007893/0.553, allocations: 5.102 MB / 424.4 MB, free: 9.184 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008126/0.5538, allocations: 90.61 kB / 424.5 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.712e-05/0.5539, allocations: 19.53 kB / 424.5 MB, free: 9.125 MB / 314.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.0002217/0.5542, allocations: 161.3 kB / 424.7 MB, free: 8.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.5544, allocations: 94.03 kB / 424.8 MB, free: 8.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/0.5547, allocations: 108 kB / 424.9 MB, free: 8.844 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.179e-06/0.5547, allocations: 15.77 kB / 424.9 MB, free: 8.836 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.5547, allocations: 0 / 424.9 MB, free: 8.836 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.5547, allocations: 3.984 kB / 424.9 MB, free: 8.832 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004774/0.5595, allocations: 2.577 MB / 427.5 MB, free: 7.227 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.731e-06/0.5596, allocations: 3.953 kB / 427.5 MB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004277/0.56, allocations: 66.78 kB / 427.5 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001326/0.5613, allocations: 462.2 kB / 428 MB, free: 6.969 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.966e-05/0.5614, allocations: 11.81 kB / 428 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007819/0.5693, allocations: 5.048 MB / 433 MB, free: 19.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.166e-06/0.5693, allocations: 3.953 kB / 433 MB, free: 19.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003134/0.5724, allocations: 1.864 MB / 434.9 MB, free: 18.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005333/0.573, allocations: 266.8 kB / 435.2 MB, free: 18.12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.5732, allocations: 19.66 kB / 435.2 MB, free: 18.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005819/0.5738, allocations: 42.83 kB / 435.2 MB, free: 18.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002126/0.574, allocations: 79.34 kB / 435.3 MB, free: 18.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.15e-05/0.5741, allocations: 19.47 kB / 435.3 MB, free: 18.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009187/0.575, allocations: 0.5728 MB / 435.9 MB, free: 17.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.73e-07/0.575, allocations: 0 / 435.9 MB, free: 17.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001252/0.5763, allocations: 344.9 kB / 436.2 MB, free: 17.65 MB / 330.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.0002724/0.5766, allocations: 133.6 kB / 436.4 MB, free: 17.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00224/0.5789, allocations: 1.196 MB / 437.6 MB, free: 16.86 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.5789, allocations: 0 / 437.6 MB, free: 16.86 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.5803, allocations: 0.7749 MB / 438.3 MB, free: 16.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.5816, allocations: 252.3 kB / 438.6 MB, free: 16.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003817/0.5854, allocations: 1.808 MB / 440.4 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/0.5867, allocations: 1.318 MB / 441.7 MB, free: 14.06 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.587, allocations: 47.44 kB / 441.8 MB, free: 14.02 MB / 330.7 MB Notification: Performance of SimCode: time 2.15e-06/0.587, allocations: 4 kB / 441.8 MB, free: 14.01 MB / 330.7 MB Notification: Performance of Templates: time 0.03411/0.6212, allocations: 19.61 MB / 461.4 MB, free: 10.43 MB / 346.7 MB