Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadModel(Modelica): time 1.94/1.94, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.162e-05/3.172e-05, allocations: 4 kB / 292.2 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09305/0.09311, allocations: 50.42 MB / 342.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3699/0.4631, allocations: 85.8 MB / 428.4 MB, free: 8.395 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.4634, allocations: 90.19 kB / 428.5 MB, free: 8.344 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07844/0.5419, allocations: 20.79 MB / 449.3 MB, free: 6.832 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.468e-06/0.5419, allocations: 0 / 449.3 MB, free: 6.832 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.549e-05/0.542, allocations: 35.94 kB / 449.3 MB, free: 6.797 MB / 362.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.002944/0.545, allocations: 1.298 MB / 450.6 MB, free: 5.523 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.545, allocations: 12.03 kB / 450.6 MB, free: 5.512 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003369/0.5454, allocations: 134.4 kB / 450.7 MB, free: 5.379 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005296/0.5507, allocations: 1.67 MB / 452.4 MB, free: 4.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.738e-05/0.5508, allocations: 74.44 kB / 452.5 MB, free: 3.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/0.551, allocations: 99.03 kB / 452.6 MB, free: 3.914 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002846/0.5539, allocations: 1.383 MB / 453.9 MB, free: 2.949 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.736e-05/0.5539, allocations: 3.984 kB / 454 MB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/0.5541, allocations: 46.81 kB / 454 MB, free: 2.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.892e-05/0.5542, allocations: 44.44 kB / 454 MB, free: 2.887 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/0.5567, allocations: 1.16 MB / 455.2 MB, free: 2.176 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008705/0.5654, allocations: 4.351 MB / 459.6 MB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0026/0.5681, allocations: 1.93 MB / 461.5 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/0.5697, allocations: 0.7202 MB / 462.2 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.21e-05/0.5697, allocations: 8.781 kB / 462.2 MB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001171/0.5709, allocations: 0.5824 MB / 462.8 MB, free: 10.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=75): time 4.389e-06/0.571, allocations: 0 / 462.8 MB, free: 10.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.002888/0.5739, allocations: 1.218 MB / 464 MB, free: 9.039 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.574, allocations: 123.6 kB / 464.1 MB, free: 8.895 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.5754, allocations: 0.7263 MB / 464.9 MB, free: 8.164 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.022e-05/0.5755, allocations: 37.7 kB / 464.9 MB, free: 8.121 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000522/0.5761, allocations: 0.4905 MB / 465.4 MB, free: 7.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002886/0.5764, allocations: 244.5 kB / 465.6 MB, free: 7.383 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.858e-05/0.5764, allocations: 12 kB / 465.6 MB, free: 7.371 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.5767, allocations: 342.8 kB / 466 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007864/0.5775, allocations: 369.4 kB / 466.3 MB, free: 6.664 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009325/0.5784, allocations: 0.5098 MB / 466.8 MB, free: 6.102 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008664/0.5793, allocations: 419 kB / 467.3 MB, free: 5.695 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.5793, allocations: 4 kB / 467.3 MB, free: 5.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00261/0.5819, allocations: 1.194 MB / 468.4 MB, free: 4.488 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.582, allocations: 8 kB / 468.5 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.582, allocations: 4 kB / 468.5 MB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001482/0.5835, allocations: 456.8 kB / 468.9 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004753/0.584, allocations: 91.89 kB / 469 MB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009502/0.5935, allocations: 5.096 MB / 474.1 MB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000799/0.5943, allocations: 95.52 kB / 474.2 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-05/0.5944, allocations: 20 kB / 474.2 MB, free: 14.59 MB / 394.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: 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 (54): * Single equations (assignments): 53 * 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.0002703/0.5947, allocations: 162.6 kB / 474.4 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.5949, allocations: 86.97 kB / 474.4 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.5953, allocations: 108.6 kB / 474.6 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.5953, allocations: 8 kB / 474.6 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.975e-06/0.5953, allocations: 0 / 474.6 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.5953, allocations: 7.922 kB / 474.6 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005597/0.6009, allocations: 2.584 MB / 477.2 MB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.98e-06/0.601, allocations: 0 / 477.2 MB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004083/0.6014, allocations: 67.91 kB / 477.2 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001406/0.6028, allocations: 464.4 kB / 477.7 MB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.916e-05/0.6029, allocations: 8 kB / 477.7 MB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009222/0.6121, allocations: 5.064 MB / 482.7 MB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.839e-06/0.6122, allocations: 3.938 kB / 482.7 MB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003756/0.6159, allocations: 1.842 MB / 484.6 MB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000645/0.6166, allocations: 275.8 kB / 484.9 MB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/0.6168, allocations: 16 kB / 484.9 MB, free: 3.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005744/0.6174, allocations: 47.95 kB / 484.9 MB, free: 3.609 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002515/0.6177, allocations: 88.59 kB / 485 MB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.415e-05/0.6178, allocations: 16 kB / 485 MB, free: 3.504 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001102/0.6189, allocations: 0.5772 MB / 485.6 MB, free: 2.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.035e-06/0.6189, allocations: 0 / 485.6 MB, free: 2.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001319/0.6202, allocations: 339.1 kB / 485.9 MB, free: 2.598 MB / 394.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.0002799/0.6205, allocations: 154.9 kB / 486.1 MB, free: 2.438 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002594/0.6231, allocations: 1.197 MB / 487.3 MB, free: 1.234 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.584e-06/0.6231, allocations: 0 / 487.3 MB, free: 1.234 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001604/0.6248, allocations: 0.7787 MB / 488.1 MB, free: 456 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.6261, allocations: 243 kB / 488.3 MB, free: 212 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004495/0.6306, allocations: 1.807 MB / 490.1 MB, free: 14.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/0.632, allocations: 1.319 MB / 491.4 MB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.6323, allocations: 51.44 kB / 491.5 MB, free: 12.97 MB / 410.7 MB Notification: Performance of SimCode: time 1.971e-06/0.6323, allocations: 0 / 491.5 MB, free: 12.97 MB / 410.7 MB Notification: Performance of Templates: time 0.03333/0.6657, allocations: 19.67 MB / 0.4992 GB, free: 9.402 MB / 426.7 MB