Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_DCDC_HBridge_HBridge_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.086/2.086, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.898e-05/3.903e-05, allocations: 11.98 kB / 292.3 MB, free: 8.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1239, allocations: 50.4 MB / 342.7 MB, free: 5.766 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4734/0.5974, allocations: 87.2 MB / 429.9 MB, free: 6.691 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/0.5978, allocations: 85.25 kB / 429.9 MB, free: 6.645 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07967/0.6775, allocations: 15.68 MB / 445.6 MB, free: 9.457 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.6775, allocations: 4 kB / 445.6 MB, free: 9.453 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.00012/0.6777, allocations: 20 kB / 445.6 MB, free: 9.434 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.004127/0.6818, allocations: 1.077 MB / 446.7 MB, free: 8.359 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.6819, allocations: 8.031 kB / 446.7 MB, free: 8.352 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003832/0.6823, allocations: 136.8 kB / 446.9 MB, free: 8.266 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000428/0.6828, allocations: 122.6 kB / 447 MB, free: 8.145 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.6846, allocations: 0.6364 MB / 447.6 MB, free: 7.621 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-05/0.6848, allocations: 69.89 kB / 447.7 MB, free: 7.578 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002281/0.685, allocations: 92.73 kB / 447.8 MB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/0.6876, allocations: 0.9185 MB / 448.7 MB, free: 6.871 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.44e-05/0.6877, allocations: 7.938 kB / 448.7 MB, free: 6.863 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.6878, allocations: 39.92 kB / 448.7 MB, free: 6.852 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/0.6879, allocations: 24 kB / 448.8 MB, free: 6.828 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002149/0.69, allocations: 0.6724 MB / 449.4 MB, free: 6.422 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008968/0.6991, allocations: 3.78 MB / 453.2 MB, free: 3.492 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002092/0.7012, allocations: 0.7657 MB / 454 MB, free: 2.906 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/0.7026, allocations: 471.6 kB / 454.4 MB, free: 2.445 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.419e-05/0.7027, allocations: 12.77 kB / 454.5 MB, free: 2.434 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001264/0.704, allocations: 435.8 kB / 454.9 MB, free: 1.988 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 7.074e-06/0.704, allocations: 4 kB / 454.9 MB, free: 1.984 MB / 362.7 MB Notification: Performance of matching and sorting (n=83): time 0.002466/0.7065, allocations: 0.8056 MB / 455.7 MB, free: 1.164 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.7066, allocations: 115.6 kB / 455.8 MB, free: 1.027 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.708, allocations: 0.5894 MB / 456.4 MB, free: 444 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001952/0.7082, allocations: 53.62 kB / 456.4 MB, free: 384 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000459/0.7087, allocations: 360.8 kB / 456.8 MB, free: 16 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004058/0.7091, allocations: 252.6 kB / 457 MB, free: 15.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.7092, allocations: 12 kB / 457.1 MB, free: 15.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002578/0.7095, allocations: 390.8 kB / 457.4 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007798/0.7103, allocations: 241.8 kB / 457.7 MB, free: 15.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009414/0.7112, allocations: 390.8 kB / 458.1 MB, free: 14.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007886/0.712, allocations: 287.8 kB / 458.3 MB, free: 14.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.7121, allocations: 0 / 458.3 MB, free: 14.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002543/0.7146, allocations: 0.9088 MB / 459.2 MB, free: 13.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006326/0.7153, allocations: 1.343 MB / 460.6 MB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.7153, allocations: 4 kB / 460.6 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/0.7168, allocations: 293.5 kB / 460.9 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008975/0.7177, allocations: 103.8 kB / 461 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008479/0.7262, allocations: 4.565 MB / 465.5 MB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.7275, allocations: 99.3 kB / 465.6 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.7276, allocations: 28 kB / 465.7 MB, free: 6.668 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.7277, allocations: 9.359 kB / 465.7 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002315/0.73, allocations: 0.8147 MB / 466.5 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.7301, allocations: 11.98 kB / 466.5 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/0.7314, allocations: 289.6 kB / 466.8 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008044/0.7322, allocations: 103.8 kB / 466.9 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007966/0.7402, allocations: 4.554 MB / 471.4 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.7413, allocations: 83.53 kB / 471.5 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.913e-05/0.7414, allocations: 32 kB / 471.6 MB, free: 0.4961 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.0003522/0.7418, allocations: 163.7 kB / 471.7 MB, free: 344 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.742, allocations: 90.92 kB / 471.8 MB, free: 252 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003271/0.7424, allocations: 100.3 kB / 471.9 MB, free: 148 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.7424, allocations: 12 kB / 471.9 MB, free: 136 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.7424, allocations: 0 / 471.9 MB, free: 136 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.7424, allocations: 3.984 kB / 471.9 MB, free: 132 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004835/0.7473, allocations: 1.938 MB / 473.9 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.7474, allocations: 0 / 473.9 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007458/0.7481, allocations: 75.91 kB / 473.9 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001293/0.7494, allocations: 285.6 kB / 474.2 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.7496, allocations: 19.98 kB / 474.2 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008002/0.7576, allocations: 4.564 MB / 478.8 MB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7576, allocations: 0 / 478.8 MB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003492/0.7611, allocations: 1.308 MB / 480.1 MB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007409/0.7619, allocations: 255.9 kB / 480.4 MB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/0.7622, allocations: 16 kB / 480.4 MB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008403/0.763, allocations: 39.97 kB / 480.4 MB, free: 7.258 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000327/0.7634, allocations: 92.53 kB / 480.5 MB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.436e-05/0.7634, allocations: 23.98 kB / 480.5 MB, free: 7.145 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009804/0.7644, allocations: 459.2 kB / 481 MB, free: 6.699 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.7645, allocations: 0 / 481 MB, free: 6.699 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002324/0.7668, allocations: 455 kB / 481.4 MB, free: 6.254 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.003865/0.7707, allocations: 1.896 MB / 483.3 MB, free: 4.324 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004928/0.7757, allocations: 1.881 MB / 485.2 MB, free: 2.375 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.7757, allocations: 0 / 485.2 MB, free: 2.375 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001874/0.7776, allocations: 0.7178 MB / 485.9 MB, free: 1.641 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.7791, allocations: 158.8 kB / 486.1 MB, free: 1.492 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005196/0.7843, allocations: 1.39 MB / 487.5 MB, free: 60 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008659/0.7852, allocations: 1.02 MB / 488.5 MB, free: 15.01 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008796/0.7861, allocations: 114.6 kB / 488.6 MB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005903/0.7867, allocations: 303.3 kB / 488.9 MB, free: 14.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.7868, allocations: 0 / 488.9 MB, free: 14.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08416/0.8709, allocations: 23.7 MB / 0.5006 GB, free: 7.238 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003132/0.8713, allocations: 206.3 kB / 0.5008 GB, free: 7.008 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.822/4.693, allocations: 3.75 kB / 0.5008 GB, free: 7.008 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL_res.mat does not exist to compare? outputFormat=mat