Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadModel(Modelica): time 2.25/2.25, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.699e-05/2.7e-05, allocations: 0 / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1106, allocations: 50.42 MB / 345 MB, free: 8.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.00636/0.117, allocations: 3.648 MB / 348.6 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003002/0.12, allocations: 1.107 MB / 349.8 MB, free: 4.148 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005/0.1206, allocations: 31.88 kB / 349.8 MB, free: 4.117 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004117/0.121, allocations: 135.2 kB / 349.9 MB, free: 3.984 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.1221, allocations: 267.2 kB / 350.2 MB, free: 3.723 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004843/0.1226, allocations: 123.7 kB / 350.3 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001558/0.1242, allocations: 0.7211 MB / 351 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.1253, allocations: 0.5352 MB / 351.6 MB, free: 2.336 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008069/0.1261, allocations: 398.9 kB / 351.9 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.1273, allocations: 0.5334 MB / 352.5 MB, free: 1.41 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002655/0.1275, allocations: 48 kB / 352.5 MB, free: 1.363 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001929/0.1278, allocations: 52 kB / 352.6 MB, free: 1.312 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004271/0.1282, allocations: 315 kB / 352.9 MB, free: 1.004 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003725/0.1286, allocations: 116 kB / 353 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002471/0.1311, allocations: 1.773 MB / 354.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1311, allocations: 0 / 354.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1311, allocations: 0 / 354.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.009e-05/0.1312, allocations: 4 kB / 354.8 MB, free: 15.11 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.004302/0.1355, allocations: 1.403 MB / 356.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.1356, allocations: 8.031 kB / 356.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005825/0.1362, allocations: 154.2 kB / 356.3 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/0.1386, allocations: 0.9221 MB / 357.3 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.1387, allocations: 78.06 kB / 357.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002877/0.139, allocations: 107.9 kB / 357.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004374/0.1434, allocations: 1.549 MB / 359 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.008e-05/0.1435, allocations: 0 / 359 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001682/0.1437, allocations: 44 kB / 359 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.574e-05/0.1438, allocations: 50.03 kB / 359.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004454/0.1483, allocations: 1.452 MB / 360.5 MB, free: 9.184 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01406/0.1624, allocations: 4.988 MB / 365.5 MB, free: 4.012 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003062/0.1655, allocations: 1.454 MB / 367 MB, free: 2.445 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.1656, allocations: 12.55 kB / 367 MB, free: 2.434 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001932/0.1676, allocations: 0.6161 MB / 367.6 MB, free: 1.805 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 3.787e-06/0.1676, allocations: 0 / 367.6 MB, free: 1.805 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.01121/0.1788, allocations: 2.435 MB / 370 MB, free: 15.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.064e-05/0.179, allocations: 89.72 kB / 370.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002164/0.1812, allocations: 0.8398 MB / 371 MB, free: 14.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002165/0.1814, allocations: 41.7 kB / 371 MB, free: 14.33 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006092/0.182, allocations: 0.5294 MB / 371.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004049/0.1825, allocations: 232.7 kB / 371.8 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-05/0.1826, allocations: 16 kB / 371.8 MB, free: 13.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.1827, allocations: 334.8 kB / 372.1 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/0.1842, allocations: 421.7 kB / 372.5 MB, free: 12.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/0.1859, allocations: 0.5602 MB / 373.1 MB, free: 12.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.1873, allocations: 457.9 kB / 373.5 MB, free: 11.74 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.1874, allocations: 0 / 373.5 MB, free: 11.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003961/0.1913, allocations: 1.25 MB / 374.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.1914, allocations: 4 kB / 374.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.1914, allocations: 4 kB / 374.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0017/0.1931, allocations: 395.2 kB / 375.2 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.1942, allocations: 119.8 kB / 375.3 MB, free: 9.973 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/0.2043, allocations: 4.266 MB / 379.5 MB, free: 5.578 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.2056, allocations: 95.39 kB / 379.6 MB, free: 5.484 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/0.2057, allocations: 24 kB / 379.7 MB, free: 5.461 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: 15 ($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_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.001339/0.2071, allocations: 495.2 kB / 380.1 MB, free: 4.969 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003538/0.2075, allocations: 90.88 kB / 380.2 MB, free: 4.879 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003812/0.2079, allocations: 120.5 kB / 380.4 MB, free: 4.754 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.2079, allocations: 8 kB / 380.4 MB, free: 4.746 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.2079, allocations: 0 / 380.4 MB, free: 4.746 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.2079, allocations: 15.88 kB / 380.4 MB, free: 4.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007347/0.2153, allocations: 2.585 MB / 383 MB, free: 2.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.2154, allocations: 0 / 383 MB, free: 2.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009235/0.2163, allocations: 95.81 kB / 383.1 MB, free: 1.996 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001567/0.2179, allocations: 384.3 kB / 383.4 MB, free: 1.621 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001456/0.2181, allocations: 15.98 kB / 383.4 MB, free: 1.605 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009333/0.2274, allocations: 4.239 MB / 387.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2275, allocations: 4 kB / 387.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005796/0.2333, allocations: 1.974 MB / 389.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008574/0.2342, allocations: 279.9 kB / 389.9 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/0.2345, allocations: 15.95 kB / 390 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009108/0.2354, allocations: 51.94 kB / 390 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003155/0.2357, allocations: 76.55 kB / 390.1 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-05/0.2359, allocations: 19.98 kB / 390.1 MB, free: 10.78 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001646/0.2375, allocations: 0.6668 MB / 390.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.2375, allocations: 0 / 390.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0016/0.2392, allocations: 354.8 kB / 391.1 MB, free: 9.766 MB / 330.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: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].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 (45): * Single equations (assignments): 41 * 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 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.000306/0.2395, allocations: 131.1 kB / 391.2 MB, free: 9.625 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003879/0.2434, allocations: 1.288 MB / 392.5 MB, free: 8.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.2434, allocations: 0 / 392.5 MB, free: 8.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002342/0.2458, allocations: 0.8181 MB / 393.3 MB, free: 7.488 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.2475, allocations: 227.3 kB / 393.6 MB, free: 7.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00913/0.2567, allocations: 3.082 MB / 396.6 MB, free: 4.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/0.2584, allocations: 1.377 MB / 398 MB, free: 2.758 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004368/0.2588, allocations: 59.42 kB / 398.1 MB, free: 2.699 MB / 330.7 MB Notification: Performance of SimCode: time 1.283e-06/0.2589, allocations: 4 kB / 398.1 MB, free: 2.695 MB / 330.7 MB Notification: Performance of Templates: time 0.4435/0.7024, allocations: 21.16 MB / 419.2 MB, free: 41.91 MB / 330.7 MB