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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadModel(Modelica): time 1.921/1.921, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.613e-05/2.635e-05, allocations: 4 kB / 255.4 MB, free: 2.668 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1376, allocations: 44.5 MB / 299.9 MB, free: 6.113 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3646/0.5023, allocations: 77.99 MB / 377.9 MB, free: 22.29 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.5026, allocations: 88.62 kB / 378 MB, free: 22.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07571/0.5783, allocations: 13.38 MB / 391.4 MB, free: 20.17 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.817e-06/0.5784, allocations: 0 / 391.4 MB, free: 20.17 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001037/0.5785, allocations: 23.84 kB / 391.4 MB, free: 20.16 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.003158/0.5817, allocations: 0.9296 MB / 392.3 MB, free: 19.6 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.5818, allocations: 7.656 kB / 392.3 MB, free: 19.6 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.582, allocations: 93.27 kB / 392.4 MB, free: 19.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.5834, allocations: 0.6132 MB / 393 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.906e-05/0.5835, allocations: 49.62 kB / 393.1 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.5836, allocations: 67.27 kB / 393.1 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.5852, allocations: 0.8694 MB / 394 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.5853, allocations: 0 / 394 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.435e-05/0.5854, allocations: 27.12 kB / 394 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.882e-05/0.5854, allocations: 32.53 kB / 394.1 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.5869, allocations: 0.7047 MB / 394.8 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004548/0.5914, allocations: 2.829 MB / 397.6 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009092/0.5924, allocations: 0.7209 MB / 398.3 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006222/0.593, allocations: 334 kB / 398.6 MB, free: 17.76 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.633e-05/0.5931, allocations: 4.234 kB / 398.6 MB, free: 17.76 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005766/0.5937, allocations: 350.5 kB / 399 MB, free: 17.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.414e-06/0.5937, allocations: 0 / 399 MB, free: 17.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.001338/0.5951, allocations: 0.6378 MB / 399.6 MB, free: 17.6 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.5951, allocations: 114.4 kB / 399.7 MB, free: 17.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007753/0.5959, allocations: 0.5136 MB / 400.2 MB, free: 17.35 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.408e-05/0.596, allocations: 33.42 kB / 400.3 MB, free: 17.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/0.5963, allocations: 347.9 kB / 400.6 MB, free: 17.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.5964, allocations: 138 kB / 400.8 MB, free: 17.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.5964, allocations: 11.16 kB / 400.8 MB, free: 17.05 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.5966, allocations: 367.2 kB / 401.1 MB, free: 16.74 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003854/0.597, allocations: 196.8 kB / 401.3 MB, free: 16.74 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004389/0.5974, allocations: 330 kB / 401.6 MB, free: 16.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000421/0.5978, allocations: 225.4 kB / 401.9 MB, free: 16.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.707e-06/0.5979, allocations: 0 / 401.9 MB, free: 16.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001354/0.5992, allocations: 0.7063 MB / 402.6 MB, free: 16.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.5993, allocations: 7.688 kB / 402.6 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.275e-06/0.5993, allocations: 3.969 kB / 402.6 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006226/0.5999, allocations: 209.1 kB / 402.8 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004065/0.6003, allocations: 70.08 kB / 402.9 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003606/0.604, allocations: 2.769 MB / 405.6 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005307/0.6045, allocations: 58.11 kB / 405.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/0.6046, allocations: 19.38 kB / 405.7 MB, free: 15.04 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.0001675/0.6048, allocations: 134.6 kB / 405.8 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.6049, allocations: 58.48 kB / 405.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.6051, allocations: 68.31 kB / 406 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.6051, allocations: 3.875 kB / 406 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.591e-06/0.6051, allocations: 0 / 406 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.907e-06/0.6051, allocations: 7.703 kB / 406 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002994/0.6081, allocations: 1.73 MB / 407.7 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.467e-06/0.6082, allocations: 7.938 kB / 407.7 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.6085, allocations: 50.5 kB / 407.8 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005353/0.6091, allocations: 193.7 kB / 407.9 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.264e-05/0.6091, allocations: 3.312 kB / 407.9 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003349/0.6125, allocations: 2.639 MB / 410.6 MB, free: 29.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.89e-06/0.6125, allocations: 0 / 410.6 MB, free: 29.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.6144, allocations: 1.096 MB / 411.7 MB, free: 28.79 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/0.6147, allocations: 197.5 kB / 411.9 MB, free: 28.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.6148, allocations: 7.625 kB / 411.9 MB, free: 28.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/0.6152, allocations: 30.34 kB / 411.9 MB, free: 28.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.6154, allocations: 41.44 kB / 411.9 MB, free: 28.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.394e-05/0.6154, allocations: 15.53 kB / 412 MB, free: 28.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000592/0.616, allocations: 411.2 kB / 412.4 MB, free: 28.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.85e-07/0.616, allocations: 0 / 412.4 MB, free: 28.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000843/0.6169, allocations: 201.6 kB / 412.6 MB, free: 28.53 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.0001969/0.6171, allocations: 124.7 kB / 412.7 MB, free: 28.44 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001182/0.6183, allocations: 0.6706 MB / 413.4 MB, free: 28.29 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6183, allocations: 0 / 413.4 MB, free: 28.29 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007014/0.619, allocations: 440.5 kB / 413.8 MB, free: 28.17 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006951/0.6197, allocations: 145 kB / 413.9 MB, free: 28.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.6218, allocations: 1.074 MB / 415 MB, free: 27.74 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008026/0.6227, allocations: 1.089 MB / 416.1 MB, free: 26.89 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003387/0.623, allocations: 103.1 kB / 416.2 MB, free: 26.85 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.6232, allocations: 34.78 kB / 416.2 MB, free: 26.84 MB / 330.7 MB Notification: Performance of SimCode: time 1.453e-06/0.6232, allocations: 0 / 416.2 MB, free: 26.84 MB / 330.7 MB Notification: Performance of Templates: time 0.01959/0.6428, allocations: 9.044 MB / 425.3 MB, free: 22.41 MB / 330.7 MB