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.866/1.866, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.833e-05/2.841e-05, allocations: 4 kB / 255.4 MB, free: 3.156 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0764/0.07645, allocations: 44.5 MB / 299.9 MB, free: 6.594 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3241/0.4006, allocations: 75.22 MB / 375.1 MB, free: 22.31 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/0.4009, allocations: 87.08 kB / 375.2 MB, free: 22.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02379/0.4247, allocations: 6.115 MB / 381.3 MB, free: 21.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.221e-06/0.4248, allocations: 4 kB / 381.3 MB, free: 21.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.98e-05/0.4248, allocations: 8.656 kB / 381.3 MB, free: 21.5 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.001033/0.4259, allocations: 0.6025 MB / 381.9 MB, free: 21.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.4259, allocations: 10 kB / 381.9 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.4261, allocations: 51.98 kB / 382 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005079/0.4266, allocations: 328.6 kB / 382.3 MB, free: 20.78 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/0.4266, allocations: 27.16 kB / 382.3 MB, free: 20.78 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.49e-05/0.4267, allocations: 35.59 kB / 382.4 MB, free: 20.78 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007427/0.4275, allocations: 357.3 kB / 382.7 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.4275, allocations: 5.844 kB / 382.7 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.314e-05/0.4276, allocations: 20.77 kB / 382.7 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.4276, allocations: 13.02 kB / 382.7 MB, free: 20.69 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005528/0.4282, allocations: 224.1 kB / 383 MB, free: 20.69 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002476/0.4307, allocations: 1.489 MB / 384.4 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004744/0.4312, allocations: 218.2 kB / 384.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003776/0.4316, allocations: 151.4 kB / 384.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.4316, allocations: 3.984 kB / 384.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004322/0.4321, allocations: 211.5 kB / 385 MB, free: 19.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 3.861e-06/0.4321, allocations: 3.938 kB / 385 MB, free: 19.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008839/0.433, allocations: 315.1 kB / 385.3 MB, free: 19.72 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.4331, allocations: 117 kB / 385.4 MB, free: 19.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/0.4334, allocations: 263.2 kB / 385.7 MB, free: 19.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.4335, allocations: 36.22 kB / 385.7 MB, free: 19.45 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.4336, allocations: 260 kB / 386 MB, free: 19.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.129e-05/0.4337, allocations: 94.75 kB / 386.1 MB, free: 19.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.4337, allocations: 10.19 kB / 386.1 MB, free: 19.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.19e-05/0.4338, allocations: 328.2 kB / 386.4 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.434, allocations: 82.77 kB / 386.5 MB, free: 18.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.4343, allocations: 191.9 kB / 386.7 MB, free: 18.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.4345, allocations: 102.7 kB / 386.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.605e-06/0.4346, allocations: 1.375 kB / 386.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008201/0.4354, allocations: 353.3 kB / 387.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.4354, allocations: 6.938 kB / 387.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.4355, allocations: 3.438 kB / 387.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003685/0.4358, allocations: 81.72 kB / 387.2 MB, free: 18.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.4362, allocations: 58.94 kB / 387.3 MB, free: 18.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/0.4381, allocations: 1.796 MB / 389.1 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003706/0.4385, allocations: 40.12 kB / 389.1 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.4385, allocations: 15.23 kB / 389.1 MB, free: 17.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: 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.0001314/0.4387, allocations: 137.5 kB / 389.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.461e-05/0.4388, allocations: 35.16 kB / 389.3 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.706e-05/0.4389, allocations: 37.59 kB / 389.3 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.4389, allocations: 8.969 kB / 389.3 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.297e-06/0.4389, allocations: 0 / 389.3 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.261e-06/0.4389, allocations: 1.641 kB / 389.3 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007648/0.4397, allocations: 0.5604 MB / 389.9 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.635e-06/0.4397, allocations: 3.953 kB / 389.9 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.44, allocations: 39.98 kB / 389.9 MB, free: 16.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003389/0.4404, allocations: 78.19 kB / 390 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.4404, allocations: 10.5 kB / 390 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/0.4424, allocations: 1.777 MB / 391.8 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.757e-06/0.4424, allocations: 1.656 kB / 391.8 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.4436, allocations: 0.4932 MB / 392.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.4438, allocations: 130.2 kB / 392.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.39e-05/0.4439, allocations: 11.22 kB / 392.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.4442, allocations: 14.77 kB / 392.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.884e-05/0.4443, allocations: 25.86 kB / 392.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.4444, allocations: 15.81 kB / 392.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002463/0.4446, allocations: 209.7 kB / 392.7 MB, free: 15.03 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.69e-07/0.4446, allocations: 0 / 392.7 MB, free: 15.03 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007027/0.4454, allocations: 115.8 kB / 392.8 MB, free: 15.02 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.0001688/0.4455, allocations: 129.3 kB / 392.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007767/0.4463, allocations: 363.5 kB / 393.3 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.005e-06/0.4464, allocations: 0 / 393.3 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008144/0.4472, allocations: 259.3 kB / 393.6 MB, free: 30.67 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.4476, allocations: 51.23 kB / 393.6 MB, free: 30.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.4489, allocations: 0.5176 MB / 394.1 MB, free: 30.42 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005063/0.4494, allocations: 0.814 MB / 394.9 MB, free: 29.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.4495, allocations: 26.78 kB / 395 MB, free: 29.71 MB / 330.7 MB Notification: Performance of SimCode: time 1.889e-06/0.4495, allocations: 4 kB / 395 MB, free: 29.71 MB / 330.7 MB Notification: Performance of Templates: time 0.009031/0.4586, allocations: 5.663 MB / 400.6 MB, free: 29.37 MB / 330.7 MB