Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadModel(Modelica): time 2.065/2.065, allocations: 224.8 MB / 241.1 MB, free: 1.656 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.811e-05/2.806e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1087, allocations: 50.42 MB / 345 MB, free: 8.926 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.00671/0.1155, allocations: 3.769 MB / 348.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003392/0.1189, allocations: 1.169 MB / 349.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007292/0.1197, allocations: 35.88 kB / 350 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007502/0.1205, allocations: 179 kB / 350.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.1218, allocations: 279.1 kB / 350.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005333/0.1223, allocations: 123.9 kB / 350.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001728/0.1241, allocations: 0.6975 MB / 351.2 MB, free: 2.656 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.1252, allocations: 0.523 MB / 351.8 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008781/0.1261, allocations: 363 kB / 352.1 MB, free: 1.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.1272, allocations: 470.4 kB / 352.6 MB, free: 1.309 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000264/0.1275, allocations: 48 kB / 352.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000212/0.1277, allocations: 47.94 kB / 352.7 MB, free: 1.215 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004081/0.1282, allocations: 283 kB / 352.9 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003668/0.1285, allocations: 112 kB / 353.1 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002526/0.1311, allocations: 1.644 MB / 354.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1311, allocations: 0 / 354.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.1312, allocations: 0 / 354.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.063e-05/0.1312, allocations: 0 / 354.7 MB, free: 15.18 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004093/0.1353, allocations: 1.301 MB / 356 MB, free: 13.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.1354, allocations: 11.97 kB / 356 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005629/0.136, allocations: 142.3 kB / 356.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/0.1385, allocations: 0.8754 MB / 357 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.1386, allocations: 70 kB / 357.1 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002687/0.1389, allocations: 104 kB / 357.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00421/0.1431, allocations: 1.439 MB / 358.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.385e-05/0.1432, allocations: 0 / 358.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001589/0.1434, allocations: 44 kB / 358.7 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.881e-05/0.1435, allocations: 41.98 kB / 358.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004023/0.1475, allocations: 1.308 MB / 360 MB, free: 9.727 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01134/0.1589, allocations: 4.355 MB / 364.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003272/0.1622, allocations: 1.97 MB / 366.3 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-05/0.1624, allocations: 12.64 kB / 366.4 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001625/0.164, allocations: 0.5975 MB / 367 MB, free: 2.449 MB / 298.7 MB Notification: Performance of pre-optimization done (n=75): time 4.298e-06/0.1641, allocations: 4 kB / 367 MB, free: 2.445 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.01288/0.177, allocations: 2.755 MB / 369.7 MB, free: 15.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.999e-05/0.1771, allocations: 115.4 kB / 369.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.1788, allocations: 0.734 MB / 370.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001875/0.179, allocations: 45.69 kB / 370.6 MB, free: 14.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005264/0.1795, allocations: 494.2 kB / 371.1 MB, free: 14.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/0.1799, allocations: 240.5 kB / 371.3 MB, free: 14.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.421e-05/0.18, allocations: 16 kB / 371.3 MB, free: 14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1802, allocations: 338.8 kB / 371.7 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.1813, allocations: 401.7 kB / 372.1 MB, free: 13.26 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.1826, allocations: 0.5454 MB / 372.6 MB, free: 12.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.1839, allocations: 441.9 kB / 373 MB, free: 12.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.1839, allocations: 4 kB / 373 MB, free: 12.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003557/0.1875, allocations: 1.264 MB / 374.3 MB, free: 10.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.1876, allocations: 8 kB / 374.3 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.1876, allocations: 12.23 kB / 374.3 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001908/0.1895, allocations: 468.2 kB / 374.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007637/0.1903, allocations: 107.9 kB / 374.9 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/0.2024, allocations: 5.29 MB / 380.2 MB, free: 4.941 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000982/0.2034, allocations: 83.45 kB / 380.3 MB, free: 4.859 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.69e-05/0.2035, allocations: 27.95 kB / 380.3 MB, free: 4.832 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 (55): * Single equations (assignments): 54 * 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 30} Notification: Performance of prepare postOptimizeDAE: time 0.001023/0.2045, allocations: 459.2 kB / 380.7 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002661/0.2048, allocations: 86.95 kB / 380.8 MB, free: 4.289 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/0.2051, allocations: 112.6 kB / 380.9 MB, free: 4.176 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.2052, allocations: 11.94 kB / 380.9 MB, free: 4.164 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.2052, allocations: 0 / 380.9 MB, free: 4.164 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.2052, allocations: 3.984 kB / 380.9 MB, free: 4.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007024/0.2122, allocations: 2.631 MB / 383.6 MB, free: 1.469 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.2123, allocations: 4 kB / 383.6 MB, free: 1.465 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006146/0.2129, allocations: 63.91 kB / 383.6 MB, free: 1.402 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001796/0.2147, allocations: 460.8 kB / 384.1 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.2149, allocations: 19.98 kB / 384.1 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01185/0.2268, allocations: 5.239 MB / 389.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.2268, allocations: 0 / 389.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005211/0.232, allocations: 1.915 MB / 391.3 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008008/0.2329, allocations: 267.9 kB / 391.5 MB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/0.2332, allocations: 19.98 kB / 391.6 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000817/0.234, allocations: 51.98 kB / 391.6 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003016/0.2343, allocations: 72.53 kB / 391.7 MB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.674e-05/0.2344, allocations: 27.98 kB / 391.7 MB, free: 9.164 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001301/0.2358, allocations: 0.581 MB / 392.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.72e-07/0.2358, allocations: 0 / 392.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001571/0.2374, allocations: 343 kB / 392.6 MB, free: 8.254 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 (40): * Single equations (assignments): 36 * 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 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003106/0.2377, allocations: 139 kB / 392.8 MB, free: 8.105 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003813/0.2415, allocations: 1.277 MB / 394 MB, free: 6.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.2416, allocations: 0.875 kB / 394 MB, free: 6.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002361/0.244, allocations: 0.8279 MB / 394.9 MB, free: 5.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/0.2459, allocations: 246.8 kB / 395.1 MB, free: 5.738 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007181/0.2531, allocations: 2.722 MB / 397.8 MB, free: 2.992 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001493/0.2547, allocations: 1.323 MB / 399.1 MB, free: 1.645 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/0.2551, allocations: 51.44 kB / 399.2 MB, free: 1.594 MB / 330.7 MB Notification: Performance of SimCode: time 1.273e-06/0.2551, allocations: 0 / 399.2 MB, free: 1.594 MB / 330.7 MB Notification: Performance of Templates: time 0.3176/0.5727, allocations: 19.84 MB / 419 MB, free: 42.62 MB / 330.7 MB