Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadModel(Modelica): time 1.885/1.885, allocations: 195 MB / 203.2 MB, free: 6.754 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.226e-05/2.234e-05, allocations: 3.031 kB / 249.6 MB, free: 5.547 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07848/0.07852, allocations: 44.5 MB / 294.1 MB, free: 11.15 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3329/0.4114, allocations: 74.55 MB / 368.7 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.4117, allocations: 84.36 kB / 368.8 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02281/0.4346, allocations: 6.044 MB / 374.8 MB, free: 26.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.18e-06/0.4346, allocations: 0 / 374.8 MB, free: 26.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.205e-05/0.4347, allocations: 7.75 kB / 374.8 MB, free: 26.22 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.00109/0.4358, allocations: 0.6063 MB / 375.4 MB, free: 25.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.4358, allocations: 11.72 kB / 375.4 MB, free: 25.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.436, allocations: 54.58 kB / 375.5 MB, free: 25.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005202/0.4365, allocations: 336.7 kB / 375.8 MB, free: 25.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.4365, allocations: 11.69 kB / 375.8 MB, free: 25.49 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.849e-05/0.4366, allocations: 23.31 kB / 375.8 MB, free: 25.49 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005117/0.4371, allocations: 206.1 kB / 376 MB, free: 25.49 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006289/0.4378, allocations: 310.6 kB / 376.3 MB, free: 25.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.4378, allocations: 3.938 kB / 376.4 MB, free: 25.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.823e-05/0.4379, allocations: 7.766 kB / 376.4 MB, free: 25.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.4379, allocations: 7.75 kB / 376.4 MB, free: 25.4 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002373/0.4403, allocations: 1.418 MB / 377.8 MB, free: 24.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004165/0.4408, allocations: 209.8 kB / 378 MB, free: 24.63 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.4411, allocations: 141.7 kB / 378.1 MB, free: 24.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.4412, allocations: 4.109 kB / 378.1 MB, free: 24.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003919/0.4416, allocations: 210.3 kB / 378.3 MB, free: 24.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 3.535e-06/0.4416, allocations: 0 / 378.3 MB, free: 24.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008859/0.4425, allocations: 294.6 kB / 378.6 MB, free: 24.47 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.233e-05/0.4426, allocations: 117.1 kB / 378.7 MB, free: 24.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000363/0.443, allocations: 237.2 kB / 379 MB, free: 24.24 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.733e-05/0.4431, allocations: 25.7 kB / 379 MB, free: 24.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.4433, allocations: 265.7 kB / 379.3 MB, free: 24.01 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.259e-05/0.4434, allocations: 89.8 kB / 379.3 MB, free: 23.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.825e-05/0.4434, allocations: 0 / 379.3 MB, free: 23.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.4436, allocations: 327.2 kB / 379.7 MB, free: 23.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.4438, allocations: 71.45 kB / 379.7 MB, free: 23.63 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.444, allocations: 190.2 kB / 379.9 MB, free: 23.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.4442, allocations: 100.9 kB / 380 MB, free: 23.47 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.438e-06/0.4442, allocations: 3.953 kB / 380 MB, free: 23.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007743/0.445, allocations: 318.9 kB / 380.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.4451, allocations: 16.78 kB / 380.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.4451, allocations: 6.328 kB / 380.4 MB, free: 23.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003786/0.4455, allocations: 80.02 kB / 380.4 MB, free: 23.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/0.4458, allocations: 56.17 kB / 380.5 MB, free: 23.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/0.4481, allocations: 1.722 MB / 382.2 MB, free: 22.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003663/0.4485, allocations: 34.61 kB / 382.2 MB, free: 22.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.4485, allocations: 15.56 kB / 382.3 MB, free: 22.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: 11 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001778/0.4487, allocations: 131.6 kB / 382.4 MB, free: 21.92 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-05/0.4488, allocations: 35.16 kB / 382.4 MB, free: 21.9 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.914e-05/0.4489, allocations: 33.05 kB / 382.5 MB, free: 21.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.425e-06/0.4489, allocations: 3.906 kB / 382.5 MB, free: 21.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.315e-06/0.4489, allocations: 7.953 kB / 382.5 MB, free: 21.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.774e-06/0.449, allocations: 0 / 382.5 MB, free: 21.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008108/0.4498, allocations: 0.4932 MB / 383 MB, free: 21.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.4498, allocations: 3.844 kB / 383 MB, free: 21.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.45, allocations: 35.67 kB / 383 MB, free: 21.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000301/0.4504, allocations: 72.2 kB / 383.1 MB, free: 21.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.4504, allocations: 10.92 kB / 383.1 MB, free: 21.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002128/0.4526, allocations: 1.721 MB / 384.8 MB, free: 20.28 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.918e-06/0.4526, allocations: 3.938 kB / 384.8 MB, free: 20.28 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009883/0.4536, allocations: 463.4 kB / 385.3 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.4539, allocations: 134.9 kB / 385.4 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.228e-05/0.4539, allocations: 7.812 kB / 385.4 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.4542, allocations: 13.81 kB / 385.4 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.303e-05/0.4543, allocations: 28.97 kB / 385.4 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.4543, allocations: 11.03 kB / 385.4 MB, free: 20.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002373/0.4546, allocations: 186.8 kB / 385.6 MB, free: 19.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.4546, allocations: 0 / 385.6 MB, free: 19.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006873/0.4553, allocations: 100.8 kB / 385.7 MB, free: 19.91 MB / 314.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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001948/0.4555, allocations: 109.8 kB / 385.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007609/0.4563, allocations: 365.9 kB / 386.2 MB, free: 19.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.4563, allocations: 0 / 386.2 MB, free: 19.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004496/0.4568, allocations: 247.3 kB / 386.4 MB, free: 19.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.4572, allocations: 41.55 kB / 386.5 MB, free: 19.56 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.4584, allocations: 0.5066 MB / 387 MB, free: 19.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/0.459, allocations: 0.809 MB / 387.8 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.4591, allocations: 26.22 kB / 387.8 MB, free: 18.61 MB / 314.7 MB Notification: Performance of SimCode: time 1.716e-06/0.4591, allocations: 3.844 kB / 387.8 MB, free: 18.61 MB / 314.7 MB Notification: Performance of Templates: time 0.009921/0.469, allocations: 5.523 MB / 393.3 MB, free: 16.06 MB / 314.7 MB