Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_DCDC_HBridge_HBridge_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.985/1.985, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.176e-05/3.206e-05, allocations: 4 kB / 255.5 MB, free: 2.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1189, allocations: 44.51 MB / 300 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4187/0.5376, allocations: 79.78 MB / 379.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/0.538, allocations: 85.66 kB / 379.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05504/0.5931, allocations: 14.72 MB / 394.6 MB, free: 11.26 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5931, allocations: 0 / 394.6 MB, free: 11.26 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.55e-05/0.5932, allocations: 23.38 kB / 394.6 MB, free: 11.25 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.00328/0.5965, allocations: 1.047 MB / 395.6 MB, free: 10.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.5966, allocations: 11.59 kB / 395.6 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004354/0.597, allocations: 142.3 kB / 395.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003423/0.5974, allocations: 113.3 kB / 395.9 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.599, allocations: 0.6341 MB / 396.5 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.519e-05/0.5991, allocations: 64.03 kB / 396.6 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002412/0.5994, allocations: 81.34 kB / 396.7 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/0.6019, allocations: 0.9088 MB / 397.6 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.523e-05/0.602, allocations: 3.906 kB / 397.6 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/0.6021, allocations: 34.75 kB / 397.6 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.6022, allocations: 23.27 kB / 397.6 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/0.6041, allocations: 0.6756 MB / 398.3 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007494/0.6116, allocations: 3.716 MB / 402 MB, free: 8.211 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/0.6136, allocations: 0.7542 MB / 402.8 MB, free: 8.148 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.6148, allocations: 435.3 kB / 403.2 MB, free: 8.129 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-05/0.6149, allocations: 8.469 kB / 403.2 MB, free: 8.125 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.6159, allocations: 457.9 kB / 403.7 MB, free: 7.977 MB / 314.7 MB Notification: Performance of pre-optimization done (n=81): time 3.446e-06/0.6159, allocations: 0 / 403.7 MB, free: 7.977 MB / 314.7 MB Notification: Performance of matching and sorting (n=81): time 0.002433/0.6184, allocations: 0.8401 MB / 404.5 MB, free: 7.816 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/0.6185, allocations: 122.9 kB / 404.6 MB, free: 7.684 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.6197, allocations: 0.5856 MB / 405.2 MB, free: 7.508 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001891/0.6199, allocations: 43.89 kB / 405.3 MB, free: 7.477 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/0.6202, allocations: 353.3 kB / 405.6 MB, free: 7.289 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.6205, allocations: 241.3 kB / 405.8 MB, free: 7.121 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.259e-05/0.6206, allocations: 14.62 kB / 405.9 MB, free: 7.121 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.6207, allocations: 384.1 kB / 406.2 MB, free: 6.785 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006518/0.6214, allocations: 239.1 kB / 406.5 MB, free: 6.781 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007098/0.6221, allocations: 382.8 kB / 406.8 MB, free: 6.625 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006717/0.6228, allocations: 286.7 kB / 407.1 MB, free: 6.551 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.6228, allocations: 7.812 kB / 407.1 MB, free: 6.547 MB / 314.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002164/0.625, allocations: 0.9075 MB / 408 MB, free: 6.363 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002961/0.6253, allocations: 1.35 MB / 409.4 MB, free: 4.941 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.6253, allocations: 3.844 kB / 409.4 MB, free: 4.941 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/0.6268, allocations: 311.9 kB / 409.7 MB, free: 4.887 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007372/0.6276, allocations: 97.77 kB / 409.8 MB, free: 4.863 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007272/0.6348, allocations: 3.618 MB / 413.4 MB, free: 19.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.636, allocations: 93.06 kB / 413.5 MB, free: 19.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.6362, allocations: 29.62 kB / 413.5 MB, free: 19.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.6363, allocations: 9.469 kB / 413.5 MB, free: 19.12 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002174/0.6384, allocations: 0.8213 MB / 414.4 MB, free: 19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.6385, allocations: 3.875 kB / 414.4 MB, free: 19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.6398, allocations: 319.5 kB / 414.7 MB, free: 18.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006836/0.6406, allocations: 88.7 kB / 414.8 MB, free: 18.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006924/0.6475, allocations: 3.63 MB / 418.4 MB, free: 17.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009607/0.6485, allocations: 75.41 kB / 418.5 MB, free: 17.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.031e-05/0.6486, allocations: 27.78 kB / 418.5 MB, free: 17.18 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 (62): * Single equations (assignments): 60 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 26} Notification: Performance of prepare postOptimizeDAE: time 0.0003489/0.6489, allocations: 170.6 kB / 418.7 MB, free: 17.05 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.6491, allocations: 85.64 kB / 418.7 MB, free: 17.01 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002735/0.6494, allocations: 95.61 kB / 418.8 MB, free: 16.99 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.6494, allocations: 7.875 kB / 418.8 MB, free: 16.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.6495, allocations: 3.984 kB / 418.8 MB, free: 16.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.6495, allocations: 7.922 kB / 418.8 MB, free: 16.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003837/0.6533, allocations: 1.916 MB / 420.8 MB, free: 16.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.6534, allocations: 4 kB / 420.8 MB, free: 16.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005326/0.6539, allocations: 62.34 kB / 420.8 MB, free: 16.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/0.6552, allocations: 308.3 kB / 421.1 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.349e-05/0.6554, allocations: 15.95 kB / 421.1 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007458/0.6628, allocations: 3.621 MB / 424.8 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.6629, allocations: 4 kB / 424.8 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003471/0.6664, allocations: 1.291 MB / 426.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000779/0.6672, allocations: 254.9 kB / 426.3 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/0.6674, allocations: 23.73 kB / 426.3 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008792/0.6683, allocations: 39.41 kB / 426.4 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003746/0.6687, allocations: 87.45 kB / 426.5 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.543e-05/0.6688, allocations: 19.5 kB / 426.5 MB, free: 12.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009513/0.6698, allocations: 455.9 kB / 426.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6698, allocations: 3.875 kB / 426.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001948/0.6718, allocations: 443.1 kB / 427.4 MB, free: 11.72 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (meanCurrent.x,meanVoltage.x) * 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 (48): * Single equations (assignments): 41 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.00368/0.6755, allocations: 1.886 MB / 429.2 MB, free: 10.44 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004532/0.6801, allocations: 1.765 MB / 431 MB, free: 9.348 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.6801, allocations: 4.812 kB / 431 MB, free: 9.344 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.6818, allocations: 0.657 MB / 431.7 MB, free: 8.934 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.6832, allocations: 156 kB / 431.8 MB, free: 8.848 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004949/0.6882, allocations: 1.323 MB / 433.1 MB, free: 8.117 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007979/0.6891, allocations: 1.018 MB / 434.2 MB, free: 7.266 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008121/0.6899, allocations: 112.7 kB / 434.3 MB, free: 7.207 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005674/0.6905, allocations: 278.6 kB / 434.5 MB, free: 6.961 MB / 330.7 MB Notification: Performance of SimCode: time 3.577e-06/0.6905, allocations: 3.938 kB / 434.6 MB, free: 6.957 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/0.7922, allocations: 24.05 MB / 458.6 MB, free: 2.613 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003655/0.7927, allocations: 201.8 kB / 458.8 MB, free: 2.383 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.768/4.561, allocations: 3.906 kB / 458.8 MB, free: 2.379 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R_res.mat does not exist to compare? outputFormat=mat