Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadModel(Modelica): time 1.857/1.857, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.102e-05/3.126e-05, allocations: 4 kB / 255.4 MB, free: 3.156 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1184, allocations: 44.5 MB / 299.9 MB, free: 6.598 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.395/0.5134, allocations: 76.2 MB / 376.1 MB, free: 22.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.5137, allocations: 83.98 kB / 376.2 MB, free: 22.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02542/0.5392, allocations: 6.993 MB / 383.1 MB, free: 21.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.568e-06/0.5392, allocations: 3.719 kB / 383.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.036e-05/0.5393, allocations: 13.62 kB / 383.2 MB, free: 21.53 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001139/0.5404, allocations: 0.6452 MB / 383.8 MB, free: 21.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.5405, allocations: 8.906 kB / 383.8 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.5406, allocations: 54.61 kB / 383.9 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005655/0.5412, allocations: 355.1 kB / 384.2 MB, free: 20.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.174e-05/0.5413, allocations: 34.64 kB / 384.3 MB, free: 20.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.156e-05/0.5414, allocations: 45.88 kB / 384.3 MB, free: 20.79 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009151/0.5423, allocations: 431.3 kB / 384.7 MB, free: 20.69 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.5423, allocations: 3.141 kB / 384.7 MB, free: 20.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.773e-05/0.5424, allocations: 15.59 kB / 384.7 MB, free: 20.69 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.5424, allocations: 14.19 kB / 384.8 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007064/0.5431, allocations: 290.6 kB / 385 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0028/0.546, allocations: 1.856 MB / 386.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008161/0.5468, allocations: 0.5859 MB / 387.5 MB, free: 19.4 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006789/0.5475, allocations: 281.2 kB / 387.8 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.784e-05/0.5476, allocations: 7.438 kB / 387.8 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005189/0.5481, allocations: 261 kB / 388 MB, free: 19.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 4.079e-06/0.5481, allocations: 0 / 388 MB, free: 19.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.001138/0.5493, allocations: 447.1 kB / 388.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.5493, allocations: 81.92 kB / 388.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003789/0.5497, allocations: 276.5 kB / 388.8 MB, free: 19.03 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.619e-05/0.5498, allocations: 39.78 kB / 388.8 MB, free: 19 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.5499, allocations: 262.4 kB / 389.1 MB, free: 18.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.55, allocations: 133.1 kB / 389.2 MB, free: 18.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.5501, allocations: 8.938 kB / 389.2 MB, free: 18.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.525e-05/0.5501, allocations: 329.3 kB / 389.6 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.5504, allocations: 111.7 kB / 389.7 MB, free: 18.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.5508, allocations: 235.6 kB / 389.9 MB, free: 18.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.5511, allocations: 137.5 kB / 390 MB, free: 18.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.641e-06/0.5511, allocations: 0 / 390 MB, free: 18.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001029/0.5521, allocations: 462 kB / 390.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.5522, allocations: 7.438 kB / 390.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.5522, allocations: 0 / 390.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000578/0.5528, allocations: 154.4 kB / 390.6 MB, free: 18.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.5531, allocations: 63.55 kB / 390.7 MB, free: 18.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002834/0.556, allocations: 2.298 MB / 393 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004122/0.5564, allocations: 45.44 kB / 393 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.5565, allocations: 19.25 kB / 393.1 MB, free: 16.7 MB / 314.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: 13 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001423/0.5566, allocations: 130.7 kB / 393.2 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.699e-05/0.5567, allocations: 47 kB / 393.2 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.5568, allocations: 51.38 kB / 393.3 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.946e-06/0.5569, allocations: 3.906 kB / 393.3 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.5569, allocations: 224 / 393.3 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.5569, allocations: 7 kB / 393.3 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.5587, allocations: 1.005 MB / 394.3 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.5587, allocations: 0 / 394.3 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.5589, allocations: 34.67 kB / 394.3 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004846/0.5594, allocations: 138 kB / 394.5 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/0.5595, allocations: 10.52 kB / 394.5 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003145/0.5626, allocations: 2.304 MB / 396.8 MB, free: 30.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.016e-06/0.5627, allocations: 3.984 kB / 396.8 MB, free: 30.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.564, allocations: 0.6882 MB / 397.5 MB, free: 30.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002477/0.5643, allocations: 151.4 kB / 397.6 MB, free: 30.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.903e-05/0.5644, allocations: 11.42 kB / 397.6 MB, free: 30.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/0.5647, allocations: 18.2 kB / 397.7 MB, free: 30.45 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.5648, allocations: 36.86 kB / 397.7 MB, free: 30.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.689e-05/0.5648, allocations: 11.53 kB / 397.7 MB, free: 30.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002972/0.5652, allocations: 219.6 kB / 397.9 MB, free: 30.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.21e-07/0.5652, allocations: 3.938 kB / 397.9 MB, free: 30.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007675/0.5659, allocations: 147 kB / 398.1 MB, free: 30.34 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (26): * Single equations (assignments): 22 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001984/0.5662, allocations: 121 kB / 398.2 MB, free: 30.24 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009928/0.5672, allocations: 0.4918 MB / 398.7 MB, free: 30.1 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.706e-06/0.5672, allocations: 0 / 398.7 MB, free: 30.1 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005838/0.5678, allocations: 359.3 kB / 399 MB, free: 29.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/0.5683, allocations: 69.33 kB / 399.1 MB, free: 29.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.57, allocations: 0.6315 MB / 399.7 MB, free: 29.7 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005279/0.5705, allocations: 0.8393 MB / 400.6 MB, free: 28.99 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.5706, allocations: 27.06 kB / 400.6 MB, free: 28.98 MB / 330.7 MB Notification: Performance of SimCode: time 1.659e-06/0.5706, allocations: 3.906 kB / 400.6 MB, free: 28.98 MB / 330.7 MB Notification: Performance of Templates: time 0.01019/0.5808, allocations: 6.635 MB / 407.2 MB, free: 28.61 MB / 330.7 MB