Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_DCDC_HBridge_HBridge_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.032/2.032, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.231e-05/4.244e-05, allocations: 0 / 269.5 MB, free: 6.289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.105, allocations: 47.57 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4296/0.5347, allocations: 85.9 MB / 402.9 MB, free: 2.125 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/0.5351, allocations: 84.52 kB / 403 MB, free: 2.078 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06379/0.5989, allocations: 15.44 MB / 418.5 MB, free: 5.105 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.5989, allocations: 0 / 418.5 MB, free: 5.105 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001114/0.5991, allocations: 27.98 kB / 418.5 MB, free: 5.078 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.003667/0.6027, allocations: 1.069 MB / 419.6 MB, free: 4.012 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.6028, allocations: 12.03 kB / 419.6 MB, free: 4 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000417/0.6033, allocations: 137.3 kB / 419.7 MB, free: 3.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003838/0.6037, allocations: 118.6 kB / 419.8 MB, free: 3.793 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001814/0.6055, allocations: 0.6443 MB / 420.5 MB, free: 3.266 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.314e-05/0.6056, allocations: 69.56 kB / 420.5 MB, free: 3.223 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002453/0.6059, allocations: 87.11 kB / 420.6 MB, free: 3.164 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002547/0.6084, allocations: 0.9185 MB / 421.5 MB, free: 2.516 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.852e-05/0.6085, allocations: 0 / 421.5 MB, free: 2.516 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/0.6087, allocations: 35.31 kB / 421.6 MB, free: 2.508 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.142e-05/0.6087, allocations: 24 kB / 421.6 MB, free: 2.484 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002229/0.611, allocations: 0.6706 MB / 422.3 MB, free: 2.082 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008542/0.6196, allocations: 3.766 MB / 426 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.6215, allocations: 0.7736 MB / 426.8 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.6227, allocations: 466.2 kB / 427.3 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.596e-05/0.6228, allocations: 16.22 kB / 427.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.6239, allocations: 450.3 kB / 427.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=83): time 3.687e-06/0.624, allocations: 0 / 427.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=83): time 0.002237/0.6262, allocations: 0.7996 MB / 428.5 MB, free: 13.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.6264, allocations: 115.6 kB / 428.6 MB, free: 13.4 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.6277, allocations: 0.5929 MB / 429.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001763/0.6279, allocations: 42.2 kB / 429.3 MB, free: 12.92 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003881/0.6283, allocations: 366.9 kB / 429.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000323/0.6286, allocations: 252.7 kB / 429.9 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.348e-05/0.6287, allocations: 15.06 kB / 429.9 MB, free: 12.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002225/0.6289, allocations: 387.8 kB / 430.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007147/0.6297, allocations: 244 kB / 430.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008349/0.6305, allocations: 386.6 kB / 430.9 MB, free: 11.67 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007649/0.6313, allocations: 290.9 kB / 431.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.6313, allocations: 4 kB / 431.2 MB, free: 11.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002418/0.6337, allocations: 0.9063 MB / 432.1 MB, free: 10.83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006167/0.6344, allocations: 1.344 MB / 433.4 MB, free: 9.398 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.6344, allocations: 0 / 433.4 MB, free: 9.398 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001431/0.6359, allocations: 286.2 kB / 433.7 MB, free: 9.203 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008918/0.6368, allocations: 114.8 kB / 433.8 MB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007851/0.6446, allocations: 4.573 MB / 438.4 MB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.6459, allocations: 97 kB / 438.5 MB, free: 5.113 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.582e-05/0.646, allocations: 26.75 kB / 438.5 MB, free: 5.094 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.646, allocations: 6.344 kB / 438.5 MB, free: 5.09 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002261/0.6483, allocations: 0.8175 MB / 439.3 MB, free: 4.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.6483, allocations: 4 kB / 439.3 MB, free: 4.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/0.6496, allocations: 286.5 kB / 439.6 MB, free: 4.055 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008234/0.6505, allocations: 99.83 kB / 439.7 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008079/0.6586, allocations: 4.569 MB / 444.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.6597, allocations: 79.5 kB / 444.3 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.362e-05/0.6598, allocations: 28 kB / 444.4 MB, free: 15 MB / 362.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.0003393/0.6601, allocations: 168.8 kB / 444.5 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/0.6604, allocations: 82.97 kB / 444.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.6607, allocations: 100.4 kB / 444.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.6607, allocations: 8.188 kB / 444.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.6607, allocations: 3.938 kB / 444.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/0.6608, allocations: 11.97 kB / 444.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004768/0.6655, allocations: 1.938 MB / 446.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.6656, allocations: 0 / 446.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007311/0.6664, allocations: 75.89 kB / 446.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/0.6677, allocations: 282.1 kB / 447 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001415/0.6679, allocations: 15.94 kB / 447 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008291/0.6762, allocations: 4.56 MB / 451.6 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6763, allocations: 0 / 451.6 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003428/0.6797, allocations: 1.304 MB / 452.9 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007062/0.6805, allocations: 260 kB / 453.2 MB, free: 5.828 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/0.6807, allocations: 23.98 kB / 453.2 MB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008583/0.6816, allocations: 35.97 kB / 453.2 MB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003703/0.682, allocations: 80.61 kB / 453.3 MB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-05/0.6821, allocations: 31.92 kB / 453.3 MB, free: 5.656 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001024/0.6831, allocations: 463.2 kB / 453.8 MB, free: 5.207 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.6832, allocations: 4 kB / 453.8 MB, free: 5.203 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00237/0.6855, allocations: 447.2 kB / 454.2 MB, free: 4.766 MB / 362.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.003891/0.6895, allocations: 1.883 MB / 456.1 MB, free: 2.844 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004679/0.6942, allocations: 1.889 MB / 458 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.6943, allocations: 320 / 458 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001691/0.696, allocations: 0.713 MB / 458.7 MB, free: 160 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.6974, allocations: 167.1 kB / 458.9 MB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00517/0.7026, allocations: 1.39 MB / 460.3 MB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008412/0.7035, allocations: 1.02 MB / 461.3 MB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008744/0.7044, allocations: 110.6 kB / 461.4 MB, free: 13.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005545/0.7049, allocations: 295.3 kB / 461.7 MB, free: 13.12 MB / 378.7 MB Notification: Performance of SimCode: time 1.323e-06/0.7049, allocations: 0 / 461.7 MB, free: 13.12 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07445/0.7794, allocations: 23.73 MB / 485.4 MB, free: 5.441 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000258/0.7797, allocations: 213.2 kB / 485.6 MB, free: 5.203 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.533/4.312, allocations: 0 / 485.6 MB, free: 5.203 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL_res.mat does not exist to compare? outputFormat=mat