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.786/1.786, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.758e-05/2.768e-05, allocations: 4 kB / 255.4 MB, free: 3.168 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0788/0.07885, allocations: 44.5 MB / 299.9 MB, free: 6.605 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3487/0.4276, allocations: 76.19 MB / 376 MB, free: 22.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.4279, allocations: 85.14 kB / 376.1 MB, free: 22.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02574/0.4537, allocations: 6.986 MB / 383.1 MB, free: 21.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.243e-06/0.4537, allocations: 5.375 kB / 383.1 MB, free: 21.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.061e-05/0.4538, allocations: 16.16 kB / 383.1 MB, free: 21.44 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.001111/0.4549, allocations: 0.6417 MB / 383.8 MB, free: 20.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4549, allocations: 9.625 kB / 383.8 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.4551, allocations: 56.58 kB / 383.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005675/0.4557, allocations: 354 kB / 384.2 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.4557, allocations: 37.88 kB / 384.2 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.55e-05/0.4558, allocations: 48.7 kB / 384.3 MB, free: 20.69 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009032/0.4567, allocations: 442.5 kB / 384.7 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.4568, allocations: 0 / 384.7 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.839e-05/0.4569, allocations: 15.12 kB / 384.7 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.4569, allocations: 10.12 kB / 384.7 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007111/0.4576, allocations: 297.6 kB / 385 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002884/0.4605, allocations: 1.856 MB / 386.9 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008295/0.4614, allocations: 0.5937 MB / 387.5 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006602/0.4621, allocations: 281.4 kB / 387.7 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.088e-05/0.4621, allocations: 5.359 kB / 387.7 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005032/0.4626, allocations: 250.8 kB / 388 MB, free: 19.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.749e-06/0.4627, allocations: 0 / 388 MB, free: 19.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.001175/0.4638, allocations: 452.9 kB / 388.4 MB, free: 19.13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.4639, allocations: 87.28 kB / 388.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004342/0.4644, allocations: 275.4 kB / 388.8 MB, free: 18.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.856e-05/0.4645, allocations: 34.67 kB / 388.8 MB, free: 18.9 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.4646, allocations: 264.1 kB / 389.1 MB, free: 18.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.4648, allocations: 143 kB / 389.2 MB, free: 18.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.4648, allocations: 10.44 kB / 389.2 MB, free: 18.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.616e-05/0.4649, allocations: 327.5 kB / 389.6 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.4652, allocations: 107.5 kB / 389.7 MB, free: 18.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003184/0.4655, allocations: 235.7 kB / 389.9 MB, free: 18.15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.4658, allocations: 136.6 kB / 390 MB, free: 18.13 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.264e-06/0.4658, allocations: 0 / 390 MB, free: 18.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001036/0.4669, allocations: 474.5 kB / 390.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.4669, allocations: 7.812 kB / 390.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.467, allocations: 3.906 kB / 390.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000573/0.4675, allocations: 151.1 kB / 390.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.4679, allocations: 61.56 kB / 390.7 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003048/0.471, allocations: 2.301 MB / 393 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000448/0.4714, allocations: 46.03 kB / 393 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.4715, allocations: 15.66 kB / 393.1 MB, free: 16.61 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.0001561/0.4717, allocations: 127.8 kB / 393.2 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-05/0.4718, allocations: 39.22 kB / 393.2 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.4719, allocations: 53.45 kB / 393.3 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.97e-06/0.4719, allocations: 3.906 kB / 393.3 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.4719, allocations: 3.906 kB / 393.3 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.018e-06/0.4719, allocations: 3.953 kB / 393.3 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.4737, allocations: 1.009 MB / 394.3 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.762e-06/0.4737, allocations: 4.031 kB / 394.3 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002488/0.474, allocations: 34.61 kB / 394.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005313/0.4745, allocations: 146.4 kB / 394.5 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/0.4746, allocations: 11.34 kB / 394.5 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002898/0.4775, allocations: 2.293 MB / 396.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.522e-06/0.4775, allocations: 0 / 396.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.4792, allocations: 0.6966 MB / 397.5 MB, free: 30.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.4794, allocations: 152 kB / 397.6 MB, free: 30.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.78e-05/0.4795, allocations: 11.3 kB / 397.6 MB, free: 30.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/0.4799, allocations: 17.83 kB / 397.7 MB, free: 30.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.48, allocations: 35.19 kB / 397.7 MB, free: 30.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.48, allocations: 14.34 kB / 397.7 MB, free: 30.35 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002984/0.4804, allocations: 221.2 kB / 397.9 MB, free: 30.26 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.35e-07/0.4804, allocations: 0 / 397.9 MB, free: 30.26 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007913/0.4812, allocations: 146.1 kB / 398.1 MB, free: 30.25 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.0002072/0.4814, allocations: 126.1 kB / 398.2 MB, free: 30.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.4824, allocations: 0.5018 MB / 398.7 MB, free: 29.99 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.189e-06/0.4825, allocations: 3.906 kB / 398.7 MB, free: 29.99 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006221/0.4831, allocations: 367.5 kB / 399.1 MB, free: 29.85 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005429/0.4837, allocations: 68.94 kB / 399.1 MB, free: 29.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.4853, allocations: 0.6393 MB / 399.8 MB, free: 29.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005458/0.4858, allocations: 0.8381 MB / 400.6 MB, free: 28.87 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.91e-05/0.4859, allocations: 30.47 kB / 400.6 MB, free: 28.86 MB / 330.7 MB Notification: Performance of SimCode: time 1.756e-06/0.486, allocations: 0 / 400.6 MB, free: 28.86 MB / 330.7 MB Notification: Performance of Templates: time 0.01032/0.4963, allocations: 6.656 MB / 407.3 MB, free: 28.5 MB / 330.7 MB