Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadModel(Modelica): time 1.857/1.857, allocations: 205.8 MB / 218.9 MB, free: 9.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.972e-05/2.985e-05, allocations: 4 kB / 269.4 MB, free: 6.383 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08301/0.08306, allocations: 47.57 MB / 316.9 MB, free: 6.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3297/0.4128, allocations: 80.73 MB / 397.7 MB, free: 7.395 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.4131, allocations: 88.17 kB / 397.8 MB, free: 7.348 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02769/0.4408, allocations: 7.049 MB / 404.8 MB, free: 1.359 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.037e-06/0.4409, allocations: 0 / 404.8 MB, free: 1.359 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.183e-05/0.4409, allocations: 12 kB / 404.8 MB, free: 1.348 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.00131/0.4422, allocations: 0.6416 MB / 405.5 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.4423, allocations: 8.031 kB / 405.5 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.4425, allocations: 56.08 kB / 405.5 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006631/0.4431, allocations: 357.6 kB / 405.9 MB, free: 292 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.157e-05/0.4432, allocations: 31.5 kB / 405.9 MB, free: 276 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.999e-05/0.4433, allocations: 44.78 kB / 406 MB, free: 244 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.4444, allocations: 434.3 kB / 406.4 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.4444, allocations: 7.938 kB / 406.4 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.94e-05/0.4445, allocations: 17.69 kB / 406.4 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.4445, allocations: 8 kB / 406.4 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007314/0.4453, allocations: 292.3 kB / 406.7 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003271/0.4486, allocations: 1.855 MB / 408.5 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009672/0.4496, allocations: 0.5823 MB / 409.1 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006885/0.4503, allocations: 286.3 kB / 409.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-05/0.4503, allocations: 4.328 kB / 409.4 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005658/0.4509, allocations: 258.7 kB / 409.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 3.676e-06/0.4509, allocations: 0 / 409.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.001221/0.4522, allocations: 444.4 kB / 410.1 MB, free: 12.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/0.4523, allocations: 85.06 kB / 410.2 MB, free: 12.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004387/0.4527, allocations: 275.2 kB / 410.5 MB, free: 12.58 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.4528, allocations: 45.12 kB / 410.5 MB, free: 12.54 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.453, allocations: 211.1 kB / 410.7 MB, free: 12.37 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.4532, allocations: 130.9 kB / 410.8 MB, free: 12.26 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.4532, allocations: 13.81 kB / 410.8 MB, free: 12.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.4534, allocations: 348.5 kB / 411.2 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.4537, allocations: 109.1 kB / 411.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003999/0.4541, allocations: 232.2 kB / 411.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/0.4545, allocations: 138.4 kB / 411.7 MB, free: 11.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.4545, allocations: 4 kB / 411.7 MB, free: 11.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001157/0.4557, allocations: 474.2 kB / 412.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.4557, allocations: 11.95 kB / 412.1 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.4557, allocations: 4.438 kB / 412.1 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006102/0.4564, allocations: 156 kB / 412.3 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.4567, allocations: 63.47 kB / 412.4 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003662/0.4604, allocations: 2.305 MB / 414.7 MB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003987/0.4608, allocations: 41.91 kB / 414.7 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/0.4609, allocations: 14.75 kB / 414.7 MB, free: 8.938 MB / 330.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: 13 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001872/0.4611, allocations: 140.1 kB / 414.8 MB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.811e-05/0.4612, allocations: 39.53 kB / 414.9 MB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.4613, allocations: 47.14 kB / 414.9 MB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.4613, allocations: 4 kB / 414.9 MB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.4613, allocations: 0 / 414.9 MB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.4614, allocations: 7.984 kB / 414.9 MB, free: 8.738 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/0.4634, allocations: 0.9968 MB / 415.9 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.8e-06/0.4634, allocations: 4 kB / 415.9 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.4637, allocations: 39.91 kB / 416 MB, free: 7.895 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005397/0.4642, allocations: 142.6 kB / 416.1 MB, free: 7.793 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/0.4643, allocations: 6.891 kB / 416.1 MB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003554/0.4678, allocations: 2.299 MB / 418.4 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.4679, allocations: 4 kB / 418.4 MB, free: 5.793 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/0.4694, allocations: 0.6994 MB / 419.1 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/0.4696, allocations: 149.4 kB / 419.3 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.725e-05/0.4697, allocations: 10.44 kB / 419.3 MB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000311/0.47, allocations: 22.98 kB / 419.3 MB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.4702, allocations: 39.41 kB / 419.4 MB, free: 5.062 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.245e-05/0.4702, allocations: 15.73 kB / 419.4 MB, free: 5.051 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003122/0.4706, allocations: 212.5 kB / 419.6 MB, free: 4.891 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.64e-07/0.4706, allocations: 0 / 419.6 MB, free: 4.891 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008092/0.4714, allocations: 147.4 kB / 419.7 MB, free: 4.762 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (26): * Single equations (assignments): 22 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002125/0.4716, allocations: 122.9 kB / 419.8 MB, free: 4.641 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.4727, allocations: 495.2 kB / 420.3 MB, free: 4.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.094e-06/0.4728, allocations: 4 kB / 420.3 MB, free: 4.266 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006529/0.4734, allocations: 347.1 kB / 420.7 MB, free: 3.996 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004921/0.4739, allocations: 66.31 kB / 420.7 MB, free: 3.949 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.4756, allocations: 0.5993 MB / 421.3 MB, free: 3.402 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005938/0.4762, allocations: 0.836 MB / 422.2 MB, free: 2.539 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002027/0.4765, allocations: 39.3 kB / 422.2 MB, free: 2.496 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.851e-05/0.4766, allocations: 26.5 kB / 422.2 MB, free: 2.473 MB / 330.7 MB Notification: Performance of SimCode: time 1.555e-06/0.4766, allocations: 7.938 kB / 422.2 MB, free: 2.465 MB / 330.7 MB Notification: Performance of Templates: time 0.01674/0.4933, allocations: 6.144 MB / 428.4 MB, free: 12.38 MB / 346.7 MB