Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.y|meanVoltage.y|hbridge.dc_n1.v|hbridge.dc_n1.i|hbridge.dc_p1.v|hbridge.dc_p1.i|hbridge.dc_n2.v|hbridge.dc_n2.i|hbridge.dc_p2.v|hbridge.dc_p2.i",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL") Notification: Performance of loadModel(Modelica): time 1.989/1.989, allocations: 194.9 MB / 210.6 MB, free: 8.148 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.697e-05/3.694e-05, allocations: 8 kB / 258.8 MB, free: 7.832 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3067, allocations: 44.5 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL): time 0.007566/0.3144, allocations: 4.691 MB / 308 MB, free: 8.875 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003688/0.3181, allocations: 1.385 MB / 309.4 MB, free: 7.484 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007232/0.3189, allocations: 39.88 kB / 309.5 MB, free: 7.445 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003658/0.3193, allocations: 123 kB / 309.6 MB, free: 7.324 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008821/0.3202, allocations: 299 kB / 309.9 MB, free: 7.031 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008377/0.321, allocations: 231.5 kB / 310.1 MB, free: 6.805 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001435/0.3225, allocations: 0.6681 MB / 310.8 MB, free: 6.133 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006441/0.3231, allocations: 282.8 kB / 311 MB, free: 5.855 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004967/0.3236, allocations: 303.1 kB / 311.3 MB, free: 5.559 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005971/0.3243, allocations: 350.6 kB / 311.7 MB, free: 5.215 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.3244, allocations: 36 kB / 311.7 MB, free: 5.18 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.3246, allocations: 40 kB / 311.7 MB, free: 5.141 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002088/0.3248, allocations: 155.3 kB / 311.9 MB, free: 4.988 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002428/0.3251, allocations: 84 kB / 312 MB, free: 4.906 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.3267, allocations: 1.2 MB / 313.2 MB, free: 3.703 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3267, allocations: 0 / 313.2 MB, free: 3.703 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.527e-06/0.3268, allocations: 0 / 313.2 MB, free: 3.703 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.227e-05/0.3268, allocations: 0 / 313.2 MB, free: 3.703 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002885/0.3297, allocations: 1.072 MB / 314.3 MB, free: 2.574 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.3297, allocations: 8.031 kB / 314.3 MB, free: 2.566 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000283/0.33, allocations: 114.7 kB / 314.4 MB, free: 2.453 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.3314, allocations: 0.6175 MB / 315 MB, free: 1.789 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.3315, allocations: 85.88 kB / 315.1 MB, free: 1.707 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/0.3318, allocations: 84 kB / 315.2 MB, free: 1.625 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/0.3343, allocations: 0.9592 MB / 316.1 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.802e-05/0.3344, allocations: 3.984 kB / 316.1 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/0.3345, allocations: 39.98 kB / 316.2 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.756e-05/0.3346, allocations: 24 kB / 316.2 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/0.337, allocations: 0.734 MB / 316.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008049/0.3451, allocations: 3.775 MB / 320.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002316/0.3474, allocations: 0.814 MB / 321.5 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.533e-05/0.3476, allocations: 8.656 kB / 321.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001318/0.3489, allocations: 480.5 kB / 322 MB, free: 10.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 3.717e-06/0.3489, allocations: 0 / 322 MB, free: 10.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.007297/0.3562, allocations: 1.649 MB / 323.6 MB, free: 8.902 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.3564, allocations: 127.7 kB / 323.8 MB, free: 8.754 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.3576, allocations: 0.5854 MB / 324.3 MB, free: 8.164 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001678/0.3578, allocations: 41.7 kB / 324.4 MB, free: 8.117 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004387/0.3583, allocations: 364.6 kB / 324.7 MB, free: 7.754 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003304/0.3586, allocations: 252.4 kB / 325 MB, free: 7.504 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.956e-05/0.3587, allocations: 20 kB / 325 MB, free: 7.484 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002315/0.3589, allocations: 386.7 kB / 325.4 MB, free: 7.098 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009333/0.3599, allocations: 265.9 kB / 325.6 MB, free: 6.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.3609, allocations: 431.7 kB / 326.1 MB, free: 6.359 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009361/0.3619, allocations: 312.9 kB / 326.4 MB, free: 6.047 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.3619, allocations: 11.95 kB / 326.4 MB, free: 6.035 MB / 266.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002873/0.3648, allocations: 0.9761 MB / 327.4 MB, free: 5.039 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006581/0.3655, allocations: 1.602 MB / 329 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.3655, allocations: 4 kB / 329 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/0.3669, allocations: 289.5 kB / 329.2 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008194/0.3677, allocations: 111.8 kB / 329.4 MB, free: 2.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008363/0.3761, allocations: 4.669 MB / 334 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009792/0.3771, allocations: 91.38 kB / 334.1 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.304e-05/0.3772, allocations: 24 kB / 334.1 MB, free: 13.86 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3772, allocations: 7.953 kB / 334.1 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002491/0.3797, allocations: 0.8662 MB / 335 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.3798, allocations: 8.062 kB / 335 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.3811, allocations: 293.7 kB / 335.3 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007146/0.3818, allocations: 103.8 kB / 335.4 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008485/0.3903, allocations: 4.664 MB / 340.1 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008934/0.3912, allocations: 87.31 kB / 340.2 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-05/0.3913, allocations: 24 kB / 340.2 MB, free: 7.531 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$PRE.meanCurrent.y,meanCurrent.y,$PRE.meanVoltage.y,meanVoltage.y,$whenCondition2,$whenCondition1,$whenCondition4,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition3,hbridge.andCondition_p.y,hbridge.andCondition_n.y,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.notFire,$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 (73): * Single equations (assignments): 70 * 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.0006772/0.392, allocations: 273.6 kB / 340.4 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002022/0.3922, allocations: 94.86 kB / 340.5 MB, free: 7.164 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002865/0.3925, allocations: 92.27 kB / 340.6 MB, free: 7.062 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.3925, allocations: 12 kB / 340.6 MB, free: 7.051 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.3926, allocations: 0 / 340.6 MB, free: 7.051 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.3926, allocations: 3.984 kB / 340.6 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004753/0.3973, allocations: 2.003 MB / 342.6 MB, free: 4.977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.3974, allocations: 0 / 342.6 MB, free: 4.977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006688/0.3981, allocations: 79.89 kB / 342.7 MB, free: 4.898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001247/0.3993, allocations: 289.5 kB / 343 MB, free: 4.609 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/0.3994, allocations: 19.98 kB / 343 MB, free: 4.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008198/0.4076, allocations: 4.651 MB / 347.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.4077, allocations: 0 / 347.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003814/0.4115, allocations: 1.401 MB / 349.1 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005675/0.4121, allocations: 268 kB / 349.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/0.4123, allocations: 16 kB / 349.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007526/0.4131, allocations: 39.97 kB / 349.4 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000272/0.4134, allocations: 72.89 kB / 349.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.054e-05/0.4135, allocations: 27.98 kB / 349.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000863/0.4144, allocations: 463 kB / 349.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4144, allocations: 0 / 349.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001982/0.4164, allocations: 458.9 kB / 350.4 MB, free: 12.9 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.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.notFire,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,meanCurrent.y,meanVoltage.y) * 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 (56): * Single equations (assignments): 48 * 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.0002649/0.4167, allocations: 135.2 kB / 350.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.005075/0.4217, allocations: 2.024 MB / 352.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.4218, allocations: 0 / 352.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002/0.4238, allocations: 0.7774 MB / 353.3 MB, free: 9.863 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.425, allocations: 156.5 kB / 353.5 MB, free: 9.715 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005149/0.4302, allocations: 1.982 MB / 355.5 MB, free: 7.711 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008111/0.431, allocations: 1.02 MB / 356.5 MB, free: 6.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0008561/0.4319, allocations: 118.6 kB / 356.6 MB, free: 6.539 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.4321, allocations: 39.44 kB / 356.6 MB, free: 6.504 MB / 298.7 MB Notification: Performance of SimCode: time 9.71e-07/0.4321, allocations: 0 / 356.6 MB, free: 6.504 MB / 298.7 MB Notification: Performance of Templates: time 0.04521/0.4773, allocations: 16.52 MB / 373.2 MB, free: 5.992 MB / 314.7 MB