Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadModel(Modelica): time 2.076/2.076, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.243e-05/2.257e-05, allocations: 4 kB / 249.6 MB, free: 15.28 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.255, allocations: 44.5 MB / 294.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.379, allocations: 77.92 MB / 372 MB, free: 4.055 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.3794, allocations: 83.94 kB / 372.1 MB, free: 3.973 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08346/0.4629, allocations: 20.72 MB / 392.8 MB, free: 15.08 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.4629, allocations: 0 / 392.8 MB, free: 15.08 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001249/0.4631, allocations: 31.94 kB / 392.9 MB, free: 15.05 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.004042/0.4671, allocations: 1.366 MB / 394.2 MB, free: 13.63 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.4672, allocations: 12.03 kB / 394.3 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006744/0.4679, allocations: 154.2 kB / 394.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002746/0.4706, allocations: 0.9492 MB / 395.4 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.957e-05/0.4708, allocations: 35.94 kB / 395.4 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003505/0.4711, allocations: 63.98 kB / 395.5 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003356/0.4745, allocations: 1.211 MB / 396.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003802/0.4784, allocations: 1.337 MB / 398 MB, free: 9.746 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.036e-05/0.4784, allocations: 0 / 398 MB, free: 9.746 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/0.4786, allocations: 0 / 398 MB, free: 9.746 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.595e-05/0.4787, allocations: 46.02 kB / 398 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01137/0.4901, allocations: 4.768 MB / 402.8 MB, free: 4.766 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002352/0.4925, allocations: 1.392 MB / 404.2 MB, free: 3.262 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.4942, allocations: 0.6649 MB / 404.9 MB, free: 2.594 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.216e-05/0.4944, allocations: 16.55 kB / 404.9 MB, free: 2.578 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00131/0.4957, allocations: 0.554 MB / 405.4 MB, free: 2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=72): time 4.791e-06/0.4957, allocations: 0 / 405.4 MB, free: 2 MB / 346.7 MB Notification: Performance of matching and sorting (n=72): time 0.002871/0.4986, allocations: 1.129 MB / 406.6 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.512e-05/0.4987, allocations: 93.86 kB / 406.7 MB, free: 0.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/0.5004, allocations: 0.7539 MB / 407.4 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001597/0.5006, allocations: 29.7 kB / 407.4 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006185/0.5012, allocations: 0.5215 MB / 408 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000354/0.5016, allocations: 216.8 kB / 408.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.5017, allocations: 4 kB / 408.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.5019, allocations: 338.8 kB / 408.5 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007943/0.5027, allocations: 369.4 kB / 408.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009089/0.5036, allocations: 0.4932 MB / 409.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008374/0.5045, allocations: 397.9 kB / 409.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.091e-06/0.5045, allocations: 0 / 409.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002551/0.5071, allocations: 1.082 MB / 410.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.419e-05/0.5071, allocations: 10.03 kB / 410.8 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.5072, allocations: 0 / 410.8 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001286/0.5085, allocations: 391.2 kB / 411.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007483/0.5092, allocations: 119.8 kB / 411.3 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007516/0.5168, allocations: 4.001 MB / 415.3 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008641/0.5177, allocations: 71.48 kB / 415.4 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/0.5179, allocations: 31.98 kB / 415.4 MB, free: 7.742 MB / 362.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 (58): * Single equations (assignments): 57 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002639/0.5181, allocations: 122.5 kB / 415.6 MB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002589/0.5184, allocations: 90.88 kB / 415.7 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003367/0.5188, allocations: 104.5 kB / 415.8 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.5188, allocations: 8 kB / 415.8 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.157e-06/0.5188, allocations: 0 / 415.8 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.5188, allocations: 11.94 kB / 415.8 MB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005519/0.5244, allocations: 2.335 MB / 418.1 MB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.93e-06/0.5244, allocations: 3.938 kB / 418.1 MB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006274/0.5251, allocations: 91.88 kB / 418.2 MB, free: 4.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00131/0.5264, allocations: 380.7 kB / 418.6 MB, free: 4.547 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/0.5266, allocations: 3.984 kB / 418.6 MB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007228/0.5338, allocations: 3.958 MB / 422.5 MB, free: 480 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.5339, allocations: 0 / 422.5 MB, free: 480 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.212/0.7459, allocations: 1.789 MB / 424.3 MB, free: 102.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00077/0.7467, allocations: 280 kB / 424.6 MB, free: 102.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/0.7469, allocations: 5.031 kB / 424.6 MB, free: 102.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006849/0.7476, allocations: 39.38 kB / 424.6 MB, free: 102.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002465/0.7479, allocations: 74.22 kB / 424.7 MB, free: 102.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.748, allocations: 24.97 kB / 424.7 MB, free: 102.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001054/0.7491, allocations: 0.5952 MB / 425.3 MB, free: 102 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.79e-07/0.7491, allocations: 0 / 425.3 MB, free: 102 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001498/0.7506, allocations: 320.9 kB / 425.6 MB, free: 102 MB / 362.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 (45): * Single equations (assignments): 41 * 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 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002392/0.7508, allocations: 112.7 kB / 425.8 MB, free: 101.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002292/0.7532, allocations: 1.144 MB / 426.9 MB, free: 101.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.02e-06/0.7532, allocations: 1.125 kB / 426.9 MB, free: 101.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001469/0.7547, allocations: 0.7388 MB / 427.6 MB, free: 101.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.756, allocations: 199.3 kB / 427.8 MB, free: 101.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005323/0.7614, allocations: 2.031 MB / 429.9 MB, free: 101.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/0.7625, allocations: 1.38 MB / 431.2 MB, free: 100.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003723/0.7629, allocations: 59.09 kB / 431.3 MB, free: 100.4 MB / 362.7 MB Notification: Performance of SimCode: time 1.935e-06/0.763, allocations: 0 / 431.3 MB, free: 100.4 MB / 362.7 MB Notification: Performance of Templates: time 0.03045/0.7934, allocations: 20.64 MB / 451.9 MB, free: 94.12 MB / 362.7 MB