Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadModel(Modelica): time 2.023/2.023, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.473e-05/2.481e-05, allocations: 0 / 292.1 MB, free: 8.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1355, allocations: 50.42 MB / 342.6 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4337/0.5693, allocations: 84.62 MB / 427.2 MB, free: 9.547 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.5696, allocations: 89.06 kB / 427.3 MB, free: 9.496 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05272/0.6223, allocations: 13.78 MB / 441.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.092e-06/0.6224, allocations: 8 kB / 441.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.674e-05/0.6224, allocations: 12 kB / 441.1 MB, free: 13.84 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002084/0.6245, allocations: 0.9471 MB / 442 MB, free: 12.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.6246, allocations: 12.03 kB / 442 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002473/0.6249, allocations: 90.97 kB / 442.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.6262, allocations: 0.6134 MB / 442.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.577e-05/0.6263, allocations: 49.69 kB / 442.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.6264, allocations: 64.48 kB / 442.9 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/0.6283, allocations: 0.8736 MB / 443.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.446e-05/0.6284, allocations: 4 kB / 443.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.923e-05/0.6285, allocations: 29.06 kB / 443.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.37e-05/0.6286, allocations: 33.3 kB / 443.8 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/0.6301, allocations: 0.7007 MB / 444.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005485/0.6356, allocations: 2.843 MB / 447.3 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.6368, allocations: 0.7128 MB / 448 MB, free: 8.172 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006716/0.6375, allocations: 325.8 kB / 448.4 MB, free: 7.957 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.6375, allocations: 4.328 kB / 448.4 MB, free: 7.953 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007325/0.6383, allocations: 359.2 kB / 448.7 MB, free: 7.672 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 4.237e-06/0.6383, allocations: 4 kB / 448.7 MB, free: 7.668 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.00159/0.6399, allocations: 0.6508 MB / 449.4 MB, free: 7.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.174e-05/0.64, allocations: 117.9 kB / 449.5 MB, free: 7.043 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008874/0.6409, allocations: 0.4995 MB / 450 MB, free: 6.652 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.833e-05/0.641, allocations: 35.89 kB / 450 MB, free: 6.617 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003678/0.6414, allocations: 387.9 kB / 450.4 MB, free: 6.316 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.6416, allocations: 144.7 kB / 450.5 MB, free: 6.191 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.6416, allocations: 6.438 kB / 450.5 MB, free: 6.191 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.6418, allocations: 331.4 kB / 450.9 MB, free: 5.867 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004212/0.6422, allocations: 200.5 kB / 451.1 MB, free: 5.742 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005207/0.6428, allocations: 325.7 kB / 451.4 MB, free: 5.453 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004709/0.6432, allocations: 225.2 kB / 451.6 MB, free: 5.301 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.467e-06/0.6433, allocations: 0 / 451.6 MB, free: 5.301 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001433/0.6447, allocations: 0.6608 MB / 452.3 MB, free: 4.816 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.6448, allocations: 8 kB / 452.3 MB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.6448, allocations: 4 kB / 452.3 MB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006907/0.6455, allocations: 199.5 kB / 452.5 MB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000426/0.6459, allocations: 76.05 kB / 452.5 MB, free: 4.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004217/0.6502, allocations: 2.67 MB / 455.2 MB, free: 1.809 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005663/0.6508, allocations: 55.67 kB / 455.3 MB, free: 1.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.444e-05/0.6508, allocations: 16 kB / 455.3 MB, free: 1.738 MB / 362.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: 12 ($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.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002106/0.6511, allocations: 144.9 kB / 455.4 MB, free: 1.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.6512, allocations: 55.34 kB / 455.5 MB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.6514, allocations: 69.05 kB / 455.6 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.416e-06/0.6514, allocations: 8 kB / 455.6 MB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.77e-06/0.6515, allocations: 0 / 455.6 MB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.6515, allocations: 7.953 kB / 455.6 MB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003285/0.6548, allocations: 1.588 MB / 457.2 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.463e-06/0.6548, allocations: 0 / 457.2 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000352/0.6552, allocations: 51.94 kB / 457.2 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006323/0.6558, allocations: 193 kB / 457.4 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.353e-05/0.6559, allocations: 15.98 kB / 457.4 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004159/0.6601, allocations: 2.647 MB / 460.1 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.482e-06/0.6601, allocations: 0 / 460.1 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/0.6623, allocations: 1.045 MB / 461.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003993/0.6628, allocations: 196.4 kB / 461.3 MB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.6629, allocations: 15.95 kB / 461.3 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000415/0.6633, allocations: 27.97 kB / 461.3 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.6635, allocations: 39.94 kB / 461.4 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.314e-05/0.6636, allocations: 15.98 kB / 461.4 MB, free: 11.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007282/0.6643, allocations: 405.5 kB / 461.8 MB, free: 10.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.21e-07/0.6643, allocations: 0 / 461.8 MB, free: 10.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009813/0.6653, allocations: 215.3 kB / 462 MB, free: 10.77 MB / 378.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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002454/0.6656, allocations: 135.2 kB / 462.1 MB, free: 10.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001483/0.6671, allocations: 0.6658 MB / 462.8 MB, free: 9.945 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.031e-06/0.6671, allocations: 0 / 462.8 MB, free: 9.945 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000863/0.668, allocations: 438 kB / 463.2 MB, free: 9.508 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008701/0.6689, allocations: 138.6 kB / 463.4 MB, free: 9.375 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.6716, allocations: 1.103 MB / 464.5 MB, free: 8.238 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009903/0.6726, allocations: 1.074 MB / 465.5 MB, free: 7.133 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.6728, allocations: 43.42 kB / 465.6 MB, free: 7.09 MB / 378.7 MB Notification: Performance of SimCode: time 1.795e-06/0.6728, allocations: 0 / 465.6 MB, free: 7.09 MB / 378.7 MB Notification: Performance of Templates: time 0.02177/0.6946, allocations: 12.27 MB / 477.8 MB, free: 10.86 MB / 394.7 MB