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_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadModel(Modelica): time 2.357/2.357, allocations: 224.7 MB / 241.1 MB, free: 1.676 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.793e-05/3.814e-05, allocations: 4 kB / 294.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1125, allocations: 50.41 MB / 345 MB, free: 8.918 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005121/0.1177, allocations: 2.954 MB / 348 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002214/0.12, allocations: 0.8382 MB / 348.8 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003562/0.1204, allocations: 16 kB / 348.8 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002009/0.1206, allocations: 51.53 kB / 348.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000523/0.1211, allocations: 155.5 kB / 349 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/0.1216, allocations: 103.8 kB / 349.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006328/0.1222, allocations: 311.3 kB / 349.4 MB, free: 4.477 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003081/0.1225, allocations: 108 kB / 349.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003209/0.1229, allocations: 159.5 kB / 349.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003739/0.1233, allocations: 183.3 kB / 349.9 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.761e-05/0.1234, allocations: 20 kB / 349.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.244e-05/0.1235, allocations: 20 kB / 349.9 MB, free: 3.984 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.1236, allocations: 79.66 kB / 350 MB, free: 3.906 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.1237, allocations: 44 kB / 350 MB, free: 3.863 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006998/0.1244, allocations: 462.7 kB / 350.5 MB, free: 3.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1245, allocations: 4 kB / 350.5 MB, free: 3.406 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1245, allocations: 0 / 350.5 MB, free: 3.406 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.1245, allocations: 0 / 350.5 MB, free: 3.406 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001604/0.1261, allocations: 0.6525 MB / 351.1 MB, free: 2.707 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.1262, allocations: 12.02 kB / 351.1 MB, free: 2.695 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.1263, allocations: 63.3 kB / 351.2 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006837/0.127, allocations: 355 kB / 351.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.44e-05/0.1271, allocations: 29 kB / 351.6 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.1272, allocations: 44 kB / 351.6 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.1285, allocations: 465.5 kB / 352.1 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.1285, allocations: 0 / 352.1 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.658e-05/0.1286, allocations: 16 kB / 352.1 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.1286, allocations: 12 kB / 352.1 MB, free: 1.672 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.1297, allocations: 331.8 kB / 352.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003859/0.1336, allocations: 1.859 MB / 354.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.1348, allocations: 0.6086 MB / 354.9 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.088e-05/0.1349, allocations: 4.328 kB / 354.9 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000713/0.1356, allocations: 269.2 kB / 355.2 MB, free: 14.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 2.765e-06/0.1356, allocations: 0 / 355.2 MB, free: 14.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.00409/0.1397, allocations: 0.8499 MB / 356 MB, free: 13.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.897e-05/0.1399, allocations: 89.11 kB / 356.1 MB, free: 13.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005151/0.1404, allocations: 267.7 kB / 356.4 MB, free: 13.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.962e-05/0.1405, allocations: 33.7 kB / 356.4 MB, free: 13.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.1407, allocations: 274.7 kB / 356.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/0.1409, allocations: 138 kB / 356.8 MB, free: 12.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.141, allocations: 8 kB / 356.8 MB, free: 12.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1412, allocations: 334.8 kB / 357.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004142/0.1416, allocations: 117.1 kB / 357.2 MB, free: 12.28 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005206/0.1421, allocations: 252.9 kB / 357.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004587/0.1426, allocations: 140 kB / 357.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.1426, allocations: 4 kB / 357.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001479/0.1441, allocations: 0.5016 MB / 358.1 MB, free: 11.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.1442, allocations: 8 kB / 358.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.1442, allocations: 4.469 kB / 358.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000742/0.145, allocations: 144.8 kB / 358.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/0.1454, allocations: 71.84 kB / 358.3 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004545/0.15, allocations: 2.339 MB / 360.7 MB, free: 8.629 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004907/0.1505, allocations: 47.56 kB / 360.7 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.745e-05/0.1506, allocations: 20 kB / 360.8 MB, free: 8.562 MB / 298.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: 13 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,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 (40): * Single equations (assignments): 39 * 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.0003307/0.1509, allocations: 173.7 kB / 360.9 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.303e-05/0.151, allocations: 47.52 kB / 361 MB, free: 8.336 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.1512, allocations: 44.3 kB / 361 MB, free: 8.293 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.1512, allocations: 4 kB / 361 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.1512, allocations: 3.953 kB / 361 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.1513, allocations: 0 / 361 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002332/0.1536, allocations: 1.015 MB / 362 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.1536, allocations: 3.938 kB / 362 MB, free: 7.207 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003504/0.154, allocations: 35.92 kB / 362.1 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006518/0.1547, allocations: 143.4 kB / 362.2 MB, free: 7.031 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.1547, allocations: 11.98 kB / 362.2 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004215/0.1589, allocations: 2.33 MB / 364.6 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.159, allocations: 4 kB / 364.6 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.1609, allocations: 0.7157 MB / 365.3 MB, free: 3.812 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002743/0.1613, allocations: 152.6 kB / 365.4 MB, free: 3.645 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.1614, allocations: 12 kB / 365.4 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/0.1618, allocations: 11.98 kB / 365.4 MB, free: 3.621 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.1619, allocations: 39.91 kB / 365.5 MB, free: 3.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.023e-05/0.162, allocations: 8 kB / 365.5 MB, free: 3.574 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003559/0.1624, allocations: 227.1 kB / 365.7 MB, free: 3.355 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1624, allocations: 0 / 365.7 MB, free: 3.355 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000804/0.1632, allocations: 143.7 kB / 365.9 MB, free: 3.215 MB / 298.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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0002197/0.1634, allocations: 119.9 kB / 366 MB, free: 3.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.165, allocations: 0.5376 MB / 366.5 MB, free: 2.539 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.165, allocations: 0 / 366.5 MB, free: 2.539 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009045/0.166, allocations: 387.3 kB / 366.9 MB, free: 2.148 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006176/0.1666, allocations: 69 kB / 367 MB, free: 2.082 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.1694, allocations: 1.054 MB / 368 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005622/0.17, allocations: 0.8399 MB / 368.9 MB, free: 120 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.1702, allocations: 31.42 kB / 368.9 MB, free: 88 kB / 298.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1702, allocations: 0 / 368.9 MB, free: 88 kB / 298.7 MB Notification: Performance of Templates: time 0.01677/0.1869, allocations: 6.712 MB / 375.6 MB, free: 9.398 MB / 314.7 MB