Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL") Notification: Performance of loadModel(Modelica): time 1.926/1.926, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.542e-05/2.551e-05, allocations: 4 kB / 292.2 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08886/0.08891, allocations: 50.4 MB / 342.6 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3657/0.4546, allocations: 87.25 MB / 429.8 MB, free: 6.969 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.455, allocations: 93.92 kB / 429.9 MB, free: 6.914 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05677/0.5117, allocations: 15.67 MB / 445.6 MB, free: 9.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.972e-06/0.5118, allocations: 0 / 445.6 MB, free: 9.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.591e-05/0.5119, allocations: 24 kB / 445.6 MB, free: 9.707 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002445/0.5143, allocations: 1.071 MB / 446.7 MB, free: 8.637 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.5144, allocations: 12.03 kB / 446.7 MB, free: 8.625 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002941/0.5147, allocations: 114.6 kB / 446.8 MB, free: 8.512 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.5161, allocations: 0.6418 MB / 447.4 MB, free: 7.988 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-05/0.5162, allocations: 71.7 kB / 447.5 MB, free: 7.945 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/0.5164, allocations: 86.94 kB / 447.6 MB, free: 7.887 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/0.5186, allocations: 0.9238 MB / 448.5 MB, free: 7.234 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.651e-05/0.5186, allocations: 7.938 kB / 448.5 MB, free: 7.227 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.5188, allocations: 40.11 kB / 448.6 MB, free: 7.215 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.192e-05/0.5188, allocations: 24 kB / 448.6 MB, free: 7.191 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/0.5206, allocations: 0.6722 MB / 449.3 MB, free: 6.789 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007183/0.5278, allocations: 3.781 MB / 453 MB, free: 3.855 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.5295, allocations: 0.7629 MB / 453.8 MB, free: 3.426 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.5305, allocations: 475.3 kB / 454.3 MB, free: 3.094 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.236e-05/0.5306, allocations: 8.781 kB / 454.3 MB, free: 3.086 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/0.5317, allocations: 443.8 kB / 454.7 MB, free: 2.633 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 4.269e-06/0.5317, allocations: 0 / 454.7 MB, free: 2.633 MB / 362.7 MB Notification: Performance of matching and sorting (n=83): time 0.002111/0.5338, allocations: 0.7939 MB / 455.5 MB, free: 1.824 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.5339, allocations: 127.5 kB / 455.6 MB, free: 1.676 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.5351, allocations: 0.5933 MB / 456.2 MB, free: 1.078 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.5352, allocations: 41.7 kB / 456.3 MB, free: 1.031 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003742/0.5356, allocations: 379.2 kB / 456.6 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002996/0.5359, allocations: 256.4 kB / 456.9 MB, free: 412 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/0.536, allocations: 16 kB / 456.9 MB, free: 396 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.5362, allocations: 334.8 kB / 457.2 MB, free: 52 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000679/0.5369, allocations: 245.8 kB / 457.5 MB, free: 15.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007976/0.5377, allocations: 394.7 kB / 457.8 MB, free: 15.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007096/0.5384, allocations: 283.8 kB / 458.1 MB, free: 15.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.814e-06/0.5385, allocations: 4 kB / 458.1 MB, free: 15.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00214/0.5406, allocations: 0.8546 MB / 459 MB, free: 14.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008058/0.5414, allocations: 1.344 MB / 460.3 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.5415, allocations: 4 kB / 460.3 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.5427, allocations: 289.5 kB / 460.6 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006261/0.5433, allocations: 107.8 kB / 460.7 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007619/0.551, allocations: 4.572 MB / 465.3 MB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008914/0.5519, allocations: 99.38 kB / 465.4 MB, free: 7.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.108e-05/0.552, allocations: 28 kB / 465.4 MB, free: 7.398 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.552, allocations: 4 kB / 465.4 MB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002059/0.5541, allocations: 0.8185 MB / 466.2 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.5541, allocations: 11.95 kB / 466.2 MB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009958/0.5551, allocations: 277.5 kB / 466.5 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005307/0.5557, allocations: 104 kB / 466.6 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007264/0.563, allocations: 4.533 MB / 471.2 MB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005752/0.5636, allocations: 67.56 kB / 471.2 MB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-05/0.5637, allocations: 24 kB / 471.2 MB, free: 1.285 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$PRE.meanCurrent.y_last,meanCurrent.y_last,$PRE.meanVoltage.y_last,meanVoltage.y_last,$whenCondition2,$whenCondition1,$whenCondition4,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition3,hbridge.andCondition_p.y,hbridge.andCondition_n.y,hbridge.fire_n,hbridge.inverter_p.andCondition_p.y,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.transistor_p.off,hbridge.inverter_p.diode_p.off,hbridge.inverter_p.transistor_n.off,hbridge.inverter_p.diode_n.off,hbridge.inverter_n.andCondition_p.y,hbridge.inverter_n.andCondition_n.y,hbridge.inverter_n.transistor_p.off,hbridge.inverter_n.diode_p.off,hbridge.inverter_n.transistor_n.off,hbridge.inverter_n.diode_n.off,$PRE.signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.sawtooth.T_start,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 11,4 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003094/0.564, allocations: 168.8 kB / 471.4 MB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002412/0.5643, allocations: 94.86 kB / 471.5 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002779/0.5646, allocations: 96.39 kB / 471.6 MB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.5646, allocations: 11.94 kB / 471.6 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5646, allocations: 0 / 471.6 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.5646, allocations: 4.078 kB / 471.6 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004074/0.5687, allocations: 1.942 MB / 473.5 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.545e-06/0.5687, allocations: 0 / 473.5 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005156/0.5693, allocations: 79.89 kB / 473.6 MB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/0.5703, allocations: 277.5 kB / 473.9 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.356e-05/0.5704, allocations: 16 kB / 473.9 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00729/0.5777, allocations: 4.565 MB / 478.5 MB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.497e-06/0.5778, allocations: 0 / 478.5 MB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003026/0.5808, allocations: 1.304 MB / 479.8 MB, free: 8.359 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005487/0.5814, allocations: 259.9 kB / 480 MB, free: 8.086 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.5816, allocations: 12 kB / 480 MB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005874/0.5822, allocations: 43.97 kB / 480.1 MB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002588/0.5824, allocations: 88.59 kB / 480.2 MB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.716e-05/0.5825, allocations: 20 kB / 480.2 MB, free: 7.926 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008704/0.5834, allocations: 463.2 kB / 480.6 MB, free: 7.477 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.4e-07/0.5834, allocations: 0 / 480.6 MB, free: 7.477 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001896/0.5853, allocations: 443.1 kB / 481.1 MB, free: 7.043 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,meanVoltage.x,inductor.i) * Number of discrete variables: 26 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hbridge.andCondition_p.y,hbridge.andCondition_n.y,hbridge.fire_n,hbridge.inverter_p.andCondition_p.y,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.transistor_p.off,hbridge.inverter_p.diode_p.off,hbridge.inverter_p.transistor_n.off,hbridge.inverter_p.diode_n.off,hbridge.inverter_n.andCondition_p.y,hbridge.inverter_n.andCondition_n.y,hbridge.inverter_n.transistor_p.off,hbridge.inverter_n.diode_p.off,hbridge.inverter_n.transistor_n.off,hbridge.inverter_n.diode_n.off,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,meanCurrent.y_last,meanVoltage.y_last) * Number of discrete states: 4 (signalPWM.sawtooth.count,meanCurrent.x,meanVoltage.x,signalPWM.zeroOrderHold.ySample) * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 11,4 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002734/0.5856, allocations: 142.3 kB / 481.2 MB, free: 6.895 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005187/0.5908, allocations: 1.862 MB / 483.1 MB, free: 4.965 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.62e-05/0.5909, allocations: 4.062 kB / 483.1 MB, free: 4.961 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003273/0.5942, allocations: 0.7169 MB / 483.8 MB, free: 4.223 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/0.5964, allocations: 155.3 kB / 484 MB, free: 4.074 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007882/0.6043, allocations: 1.29 MB / 485.2 MB, free: 2.762 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001855/0.6062, allocations: 1.023 MB / 486.3 MB, free: 1.707 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005033/0.6068, allocations: 51.44 kB / 486.3 MB, free: 1.656 MB / 394.7 MB Notification: Performance of SimCode: time 2.86e-06/0.6068, allocations: 4 kB / 486.3 MB, free: 1.652 MB / 394.7 MB Notification: Performance of Templates: time 0.08775/0.6946, allocations: 18.67 MB / 0.4932 GB, free: 15.03 MB / 426.7 MB