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.821/1.821, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.878e-05/2.9e-05, allocations: 3.031 kB / 255.4 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0831/0.08316, allocations: 44.49 MB / 299.9 MB, free: 6.641 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.345/0.4282, allocations: 79.26 MB / 379.1 MB, free: 22.21 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.4286, allocations: 89.92 kB / 379.2 MB, free: 22.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07425/0.5028, allocations: 20.38 MB / 399.6 MB, free: 19.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.059e-06/0.5029, allocations: 3.844 kB / 399.6 MB, free: 19.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.969e-05/0.503, allocations: 23.38 kB / 399.6 MB, free: 19.11 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.002565/0.5056, allocations: 1.276 MB / 400.9 MB, free: 18.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.5056, allocations: 11.72 kB / 400.9 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003095/0.5059, allocations: 140.7 kB / 401 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005501/0.5115, allocations: 1.676 MB / 402.7 MB, free: 17.78 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.227e-05/0.5116, allocations: 71.53 kB / 402.8 MB, free: 17.78 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002914/0.5119, allocations: 96.78 kB / 402.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003166/0.5151, allocations: 1.39 MB / 404.3 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.017e-05/0.5151, allocations: 0 / 404.3 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/0.5153, allocations: 37.94 kB / 404.3 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.717e-05/0.5154, allocations: 51.38 kB / 404.3 MB, free: 17.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002906/0.5183, allocations: 1.174 MB / 405.5 MB, free: 17.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008191/0.5266, allocations: 4.338 MB / 409.9 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002121/0.5287, allocations: 1.947 MB / 411.8 MB, free: 13.92 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.5303, allocations: 0.7328 MB / 412.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.153e-05/0.5303, allocations: 8.688 kB / 412.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/0.5314, allocations: 0.5686 MB / 413.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=75): time 4.915e-06/0.5315, allocations: 3.906 kB / 413.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.002726/0.5342, allocations: 1.219 MB / 414.3 MB, free: 13.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.5343, allocations: 115.4 kB / 414.4 MB, free: 13.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.5356, allocations: 0.7261 MB / 415.2 MB, free: 12.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-05/0.5357, allocations: 44.06 kB / 415.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/0.5361, allocations: 499.2 kB / 415.7 MB, free: 12.63 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/0.5363, allocations: 240.2 kB / 415.9 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/0.5364, allocations: 18.81 kB / 416 MB, free: 12.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.293e-05/0.5365, allocations: 337.6 kB / 416.3 MB, free: 12.13 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007564/0.5373, allocations: 375.4 kB / 416.7 MB, free: 12.08 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008507/0.5381, allocations: 0.512 MB / 417.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008247/0.539, allocations: 420.9 kB / 417.6 MB, free: 11.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.885e-06/0.539, allocations: 3.906 kB / 417.6 MB, free: 11.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002496/0.5415, allocations: 1.197 MB / 418.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.5416, allocations: 7.812 kB / 418.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.5416, allocations: 4.344 kB / 418.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001602/0.5432, allocations: 458.6 kB / 419.2 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005679/0.5438, allocations: 100.8 kB / 419.3 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009108/0.5529, allocations: 5.105 MB / 424.4 MB, free: 9.254 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008923/0.5539, allocations: 82.61 kB / 424.5 MB, free: 9.203 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.399e-05/0.554, allocations: 23.44 kB / 424.5 MB, free: 9.199 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.0002377/0.5542, allocations: 158.3 kB / 424.7 MB, free: 9.051 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.5545, allocations: 85.47 kB / 424.8 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/0.5548, allocations: 111.6 kB / 424.9 MB, free: 8.918 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.5548, allocations: 15.67 kB / 424.9 MB, free: 8.91 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.588e-06/0.5548, allocations: 0 / 424.9 MB, free: 8.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.5548, allocations: 3.984 kB / 424.9 MB, free: 8.906 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005216/0.5601, allocations: 2.574 MB / 427.5 MB, free: 7.297 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.842e-06/0.5601, allocations: 3.953 kB / 427.5 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004483/0.5606, allocations: 66.75 kB / 427.6 MB, free: 7.277 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001475/0.5621, allocations: 456.1 kB / 428 MB, free: 7.047 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.155e-05/0.5622, allocations: 15.89 kB / 428 MB, free: 7.035 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008828/0.571, allocations: 5.043 MB / 433.1 MB, free: 19.47 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.764e-06/0.5711, allocations: 3.953 kB / 433.1 MB, free: 19.47 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003619/0.5747, allocations: 1.856 MB / 434.9 MB, free: 18.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006326/0.5754, allocations: 281.5 kB / 435.2 MB, free: 18.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.5756, allocations: 11.88 kB / 435.2 MB, free: 18.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005856/0.5762, allocations: 46.83 kB / 435.2 MB, free: 18.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002328/0.5764, allocations: 67.3 kB / 435.3 MB, free: 18.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.846e-05/0.5765, allocations: 31.11 kB / 435.3 MB, free: 18.11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001059/0.5776, allocations: 0.577 MB / 435.9 MB, free: 17.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.49e-07/0.5776, allocations: 0 / 435.9 MB, free: 17.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001248/0.5788, allocations: 341.8 kB / 436.3 MB, free: 17.73 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.0002628/0.5791, allocations: 131.8 kB / 436.4 MB, free: 17.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002544/0.5817, allocations: 1.233 MB / 437.6 MB, free: 16.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.415e-06/0.5817, allocations: 0 / 437.6 MB, free: 16.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001477/0.5832, allocations: 0.7868 MB / 438.4 MB, free: 16.44 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.5846, allocations: 252.7 kB / 438.7 MB, free: 16.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004228/0.5889, allocations: 1.808 MB / 440.5 MB, free: 15.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/0.5903, allocations: 1.319 MB / 441.8 MB, free: 13.99 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/0.5906, allocations: 55.44 kB / 441.8 MB, free: 13.93 MB / 330.7 MB Notification: Performance of SimCode: time 2.047e-06/0.5906, allocations: 0 / 441.8 MB, free: 13.93 MB / 330.7 MB Notification: Performance of Templates: time 0.03856/0.6292, allocations: 19.71 MB / 461.5 MB, free: 10.26 MB / 346.7 MB