Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadModel(Modelica): time 1.841/1.841, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.257e-05/3.275e-05, allocations: 4 kB / 255.4 MB, free: 3.152 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07731/0.07736, allocations: 44.5 MB / 299.9 MB, free: 6.594 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3359/0.4133, allocations: 77.99 MB / 377.9 MB, free: 22.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.4136, allocations: 90.19 kB / 378 MB, free: 22.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04865/0.4623, allocations: 13.38 MB / 391.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4623, allocations: 0 / 391.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.396e-05/0.4624, allocations: 23.78 kB / 391.4 MB, free: 20.41 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001752/0.4642, allocations: 0.9286 MB / 392.3 MB, free: 19.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.4642, allocations: 11.78 kB / 392.3 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002086/0.4644, allocations: 89.78 kB / 392.4 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.4656, allocations: 0.6104 MB / 393 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.879e-05/0.4656, allocations: 48.06 kB / 393 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.4658, allocations: 65.14 kB / 393.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.4674, allocations: 0.8755 MB / 394 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/0.4674, allocations: 7.359 kB / 394 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.606e-05/0.4675, allocations: 26.97 kB / 394 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.447e-05/0.4676, allocations: 24.84 kB / 394 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.469, allocations: 0.7101 MB / 394.7 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005046/0.4741, allocations: 2.819 MB / 397.6 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008967/0.475, allocations: 0.7167 MB / 398.3 MB, free: 18.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006308/0.4757, allocations: 331.2 kB / 398.6 MB, free: 18.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.015e-05/0.4757, allocations: 4.234 kB / 398.6 MB, free: 18.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005913/0.4763, allocations: 360.5 kB / 399 MB, free: 17.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.86e-06/0.4764, allocations: 0 / 399 MB, free: 17.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.001365/0.4777, allocations: 0.6352 MB / 399.6 MB, free: 17.85 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.4778, allocations: 110.8 kB / 399.7 MB, free: 17.72 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000779/0.4786, allocations: 0.5047 MB / 400.2 MB, free: 17.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.688e-05/0.4787, allocations: 41.06 kB / 400.3 MB, free: 17.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.4789, allocations: 379.8 kB / 400.6 MB, free: 17.33 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.4791, allocations: 133.7 kB / 400.8 MB, free: 17.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.4791, allocations: 11.25 kB / 400.8 MB, free: 17.24 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.456e-05/0.4792, allocations: 327.4 kB / 401.1 MB, free: 16.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003812/0.4796, allocations: 205 kB / 401.3 MB, free: 16.92 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004422/0.48, allocations: 324 kB / 401.6 MB, free: 16.78 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/0.4805, allocations: 230.9 kB / 401.8 MB, free: 16.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.639e-06/0.4805, allocations: 0 / 401.8 MB, free: 16.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00136/0.4819, allocations: 0.6688 MB / 402.5 MB, free: 16.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.4819, allocations: 7.844 kB / 402.5 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.91e-06/0.4819, allocations: 3.969 kB / 402.5 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006272/0.4826, allocations: 199 kB / 402.7 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003805/0.483, allocations: 80.45 kB / 402.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003501/0.4865, allocations: 2.771 MB / 405.6 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005723/0.4871, allocations: 61.11 kB / 405.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.026e-05/0.4872, allocations: 18.56 kB / 405.6 MB, free: 15.23 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 {3 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001626/0.4873, allocations: 135 kB / 405.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.4875, allocations: 58.45 kB / 405.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.4877, allocations: 70.08 kB / 405.9 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.887e-06/0.4877, allocations: 7.812 kB / 405.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.076e-06/0.4877, allocations: 4 kB / 405.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.109e-06/0.4877, allocations: 3.469 kB / 405.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003154/0.4909, allocations: 1.726 MB / 407.6 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.935e-06/0.4909, allocations: 0 / 407.6 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003608/0.4913, allocations: 49.94 kB / 407.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005905/0.4919, allocations: 187.6 kB / 407.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.944e-05/0.492, allocations: 15.31 kB / 407.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00354/0.4955, allocations: 2.646 MB / 410.5 MB, free: 29.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.123e-06/0.4956, allocations: 3.938 kB / 410.5 MB, free: 29.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.4975, allocations: 1.087 MB / 411.6 MB, free: 28.99 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003276/0.4979, allocations: 191.4 kB / 411.8 MB, free: 28.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.498, allocations: 11.03 kB / 411.8 MB, free: 28.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.4984, allocations: 36.27 kB / 411.8 MB, free: 28.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.4986, allocations: 44.23 kB / 411.9 MB, free: 28.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.375e-05/0.4986, allocations: 11.53 kB / 411.9 MB, free: 28.85 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006442/0.4993, allocations: 409.6 kB / 412.3 MB, free: 28.76 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.4993, allocations: 0 / 412.3 MB, free: 28.76 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000939/0.5002, allocations: 206.4 kB / 412.5 MB, free: 28.73 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002153/0.5005, allocations: 121.5 kB / 412.6 MB, free: 28.63 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001283/0.5018, allocations: 0.6575 MB / 413.3 MB, free: 28.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.76e-06/0.5018, allocations: 0.9375 kB / 413.3 MB, free: 28.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007725/0.5026, allocations: 446.1 kB / 413.7 MB, free: 28.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008147/0.5034, allocations: 145.4 kB / 413.9 MB, free: 28.35 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.5058, allocations: 1.101 MB / 415 MB, free: 28.01 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00085/0.5066, allocations: 1.08 MB / 416 MB, free: 27.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.5068, allocations: 42.86 kB / 416.1 MB, free: 27.17 MB / 330.7 MB Notification: Performance of SimCode: time 2.109e-06/0.5068, allocations: 4 kB / 416.1 MB, free: 27.16 MB / 330.7 MB Notification: Performance of Templates: time 0.01692/0.5238, allocations: 12.2 MB / 428.3 MB, free: 21.08 MB / 330.7 MB