Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_DCDC_HBridge_HBridge_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.894/1.894, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.18e-05/3.189e-05, allocations: 2.25 kB / 255.5 MB, free: 2.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1103, allocations: 44.5 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4587/0.5691, allocations: 80.11 MB / 380.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/0.5695, allocations: 84.19 kB / 380.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05611/0.6256, allocations: 15.05 MB / 395.2 MB, free: 11.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.6257, allocations: 0 / 395.2 MB, free: 11.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.572e-05/0.6258, allocations: 27.11 kB / 395.3 MB, free: 11.2 MB / 314.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.002681/0.6285, allocations: 1.072 MB / 396.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.6285, allocations: 11.88 kB / 396.3 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002557/0.6288, allocations: 134.7 kB / 396.5 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002766/0.6291, allocations: 113.2 kB / 396.6 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.6305, allocations: 0.6397 MB / 397.2 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.286e-05/0.6306, allocations: 67.73 kB / 397.3 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.6308, allocations: 90.09 kB / 397.4 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.633, allocations: 0.9188 MB / 398.3 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.958e-05/0.633, allocations: 2.859 kB / 398.3 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/0.6332, allocations: 41.08 kB / 398.3 MB, free: 9.977 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/0.6332, allocations: 19.41 kB / 398.4 MB, free: 9.977 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.6351, allocations: 0.6705 MB / 399 MB, free: 9.965 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007059/0.6421, allocations: 3.759 MB / 402.8 MB, free: 7.949 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.6439, allocations: 0.7596 MB / 403.5 MB, free: 7.883 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/0.645, allocations: 462.2 kB / 404 MB, free: 7.863 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.607e-05/0.6451, allocations: 13.81 kB / 404 MB, free: 7.859 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.6462, allocations: 444.8 kB / 404.4 MB, free: 7.719 MB / 314.7 MB Notification: Performance of pre-optimization done (n=83): time 3.547e-06/0.6462, allocations: 0 / 404.4 MB, free: 7.719 MB / 314.7 MB Notification: Performance of matching and sorting (n=83): time 0.002501/0.6487, allocations: 0.7935 MB / 405.2 MB, free: 7.578 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.397e-05/0.6488, allocations: 115.2 kB / 405.4 MB, free: 7.449 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.6507, allocations: 0.5891 MB / 405.9 MB, free: 7.273 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002635/0.651, allocations: 47.64 kB / 406 MB, free: 7.242 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005551/0.6515, allocations: 361 kB / 406.3 MB, free: 7.051 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004578/0.652, allocations: 255.4 kB / 406.6 MB, free: 6.875 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.6522, allocations: 14.19 kB / 406.6 MB, free: 6.875 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002363/0.6524, allocations: 386.7 kB / 407 MB, free: 6.535 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/0.6537, allocations: 246.1 kB / 407.2 MB, free: 6.535 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.6552, allocations: 387.6 kB / 407.6 MB, free: 6.375 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.6562, allocations: 303.5 kB / 407.9 MB, free: 6.293 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.6563, allocations: 0 / 407.9 MB, free: 6.293 MB / 314.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003274/0.6596, allocations: 0.9109 MB / 408.8 MB, free: 6.094 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003041/0.6599, allocations: 1.336 MB / 410.1 MB, free: 4.688 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.6599, allocations: 3.875 kB / 410.1 MB, free: 4.688 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001286/0.6612, allocations: 291.4 kB / 410.4 MB, free: 4.625 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.6622, allocations: 108 kB / 410.5 MB, free: 4.602 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/0.6727, allocations: 4.568 MB / 415.1 MB, free: 17.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.6743, allocations: 91.69 kB / 415.2 MB, free: 17.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.6744, allocations: 22.78 kB / 415.2 MB, free: 17.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.6745, allocations: 9.766 kB / 415.2 MB, free: 17.55 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002027/0.6765, allocations: 0.8239 MB / 416.1 MB, free: 17.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.6766, allocations: 3.75 kB / 416.1 MB, free: 17.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.6777, allocations: 287.3 kB / 416.3 MB, free: 17.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007373/0.6785, allocations: 102.6 kB / 416.4 MB, free: 17.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006956/0.6855, allocations: 4.575 MB / 421 MB, free: 14.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.6866, allocations: 81.8 kB / 421.1 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.646e-05/0.6866, allocations: 29.33 kB / 421.1 MB, free: 14.29 MB / 330.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,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.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.0003337/0.687, allocations: 162.7 kB / 421.3 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/0.6872, allocations: 85.86 kB / 421.4 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.6875, allocations: 100.4 kB / 421.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.6875, allocations: 11.83 kB / 421.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.6875, allocations: 0 / 421.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.6876, allocations: 7.984 kB / 421.5 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003907/0.6915, allocations: 1.934 MB / 423.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.6915, allocations: 0 / 423.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006694/0.6922, allocations: 69.78 kB / 423.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001137/0.6934, allocations: 286 kB / 423.8 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.685e-05/0.6934, allocations: 11.88 kB / 423.8 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006994/0.7004, allocations: 4.564 MB / 428.3 MB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.7005, allocations: 3.938 kB / 428.3 MB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003164/0.7037, allocations: 1.301 MB / 429.6 MB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006203/0.7043, allocations: 262.4 kB / 429.9 MB, free: 8.227 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.7045, allocations: 15.88 kB / 429.9 MB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007958/0.7053, allocations: 35.44 kB / 429.9 MB, free: 8.199 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002996/0.7056, allocations: 87.2 kB / 430 MB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.869e-05/0.7057, allocations: 19.53 kB / 430.1 MB, free: 8.145 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008808/0.7066, allocations: 462.5 kB / 430.5 MB, free: 7.898 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7066, allocations: 4 kB / 430.5 MB, free: 7.895 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002042/0.7087, allocations: 447.9 kB / 430.9 MB, free: 7.805 MB / 330.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,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 (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.003459/0.7122, allocations: 1.881 MB / 432.8 MB, free: 6.531 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004264/0.7165, allocations: 1.887 MB / 434.7 MB, free: 5.289 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/0.7165, allocations: 8.062 kB / 434.7 MB, free: 5.281 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001605/0.7182, allocations: 0.7164 MB / 435.4 MB, free: 4.797 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.7195, allocations: 157.7 kB / 435.6 MB, free: 4.715 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004764/0.7242, allocations: 1.378 MB / 437 MB, free: 3.918 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007474/0.725, allocations: 1.021 MB / 438 MB, free: 3.062 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008047/0.7258, allocations: 107.4 kB / 438.1 MB, free: 3.012 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005544/0.7264, allocations: 299.5 kB / 438.4 MB, free: 2.75 MB / 330.7 MB Notification: Performance of SimCode: time 1.232e-06/0.7264, allocations: 3.812 kB / 438.4 MB, free: 2.75 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07536/0.8018, allocations: 23.58 MB / 462 MB, free: 14.9 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000455/0.8023, allocations: 201.5 kB / 462.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.756/4.558, allocations: 0 / 462.2 MB, free: 14.67 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL_res.mat does not exist to compare? outputFormat=mat