Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_DCDC_HBridge_HBridge_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.017/2.017, allocations: 205.8 MB / 218.9 MB, free: 9.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.035e-05/3.04e-05, allocations: 0 / 269.5 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1148, allocations: 47.57 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4166/0.5315, allocations: 85.6 MB / 402.6 MB, free: 2.109 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/0.5319, allocations: 94.31 kB / 402.7 MB, free: 2.055 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06008/0.592, allocations: 15.11 MB / 417.8 MB, free: 5.355 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.592, allocations: 4 kB / 417.8 MB, free: 5.352 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.953e-05/0.5921, allocations: 20 kB / 417.9 MB, free: 5.332 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002999/0.5951, allocations: 1.052 MB / 418.9 MB, free: 4.277 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.5952, allocations: 12.03 kB / 418.9 MB, free: 4.266 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002983/0.5955, allocations: 133.4 kB / 419.1 MB, free: 4.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003113/0.5958, allocations: 110.7 kB / 419.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.5974, allocations: 0.6402 MB / 419.8 MB, free: 3.543 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.5975, allocations: 67.81 kB / 419.9 MB, free: 3.504 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002/0.5977, allocations: 82.81 kB / 419.9 MB, free: 3.449 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/0.6001, allocations: 0.8966 MB / 420.8 MB, free: 2.816 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.711e-05/0.6001, allocations: 0 / 420.8 MB, free: 2.816 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.6003, allocations: 47.05 kB / 420.9 MB, free: 2.797 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.119e-05/0.6003, allocations: 23.94 kB / 420.9 MB, free: 2.773 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.6022, allocations: 0.6569 MB / 421.6 MB, free: 2.379 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0077/0.61, allocations: 3.72 MB / 425.3 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/0.6119, allocations: 0.7619 MB / 426.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.6131, allocations: 434.3 kB / 426.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.613e-05/0.6132, allocations: 8.781 kB / 426.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/0.6143, allocations: 443.8 kB / 426.9 MB, free: 14.47 MB / 346.7 MB Notification: Performance of pre-optimization done (n=81): time 5.43e-06/0.6143, allocations: 4 kB / 426.9 MB, free: 14.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=81): time 0.00249/0.6168, allocations: 0.8568 MB / 427.8 MB, free: 13.87 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.953e-05/0.6169, allocations: 115.6 kB / 427.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.6181, allocations: 0.5866 MB / 428.5 MB, free: 13.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001369/0.6183, allocations: 43.39 kB / 428.5 MB, free: 13.25 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.6187, allocations: 360.6 kB / 428.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003056/0.619, allocations: 236.9 kB / 429.1 MB, free: 12.81 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.448e-05/0.6191, allocations: 17 kB / 429.1 MB, free: 12.81 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.6193, allocations: 389 kB / 429.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000671/0.62, allocations: 243.4 kB / 429.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008004/0.6208, allocations: 382.2 kB / 430.1 MB, free: 12.01 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007254/0.6215, allocations: 285.4 kB / 430.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.6215, allocations: 0 / 430.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002313/0.6239, allocations: 0.8993 MB / 431.3 MB, free: 11.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005547/0.6244, allocations: 1.342 MB / 432.6 MB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.6245, allocations: 0 / 432.6 MB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/0.626, allocations: 314.5 kB / 432.9 MB, free: 9.555 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007604/0.6267, allocations: 99.7 kB / 433 MB, free: 9.461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007495/0.6343, allocations: 3.637 MB / 436.7 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.6354, allocations: 90.41 kB / 436.8 MB, free: 6.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.147e-05/0.6355, allocations: 27.25 kB / 436.8 MB, free: 6.656 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.6355, allocations: 4 kB / 436.8 MB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002112/0.6376, allocations: 0.8147 MB / 437.6 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.6376, allocations: 4 kB / 437.6 MB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/0.639, allocations: 321.6 kB / 437.9 MB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006692/0.6397, allocations: 87.83 kB / 438 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00774/0.6475, allocations: 3.62 MB / 441.6 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009769/0.6485, allocations: 79.36 kB / 441.7 MB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.958e-05/0.6486, allocations: 27.98 kB / 441.7 MB, free: 1.828 MB / 346.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.000317/0.6489, allocations: 168.6 kB / 441.9 MB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.6491, allocations: 90.95 kB / 442 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003185/0.6495, allocations: 92.39 kB / 442.1 MB, free: 1.473 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.6495, allocations: 11.95 kB / 442.1 MB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.6495, allocations: 3.938 kB / 442.1 MB, free: 1.457 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.6495, allocations: 3.984 kB / 442.1 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004357/0.6539, allocations: 1.919 MB / 444 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.6539, allocations: 0 / 444 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005473/0.6545, allocations: 59.91 kB / 444.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001434/0.656, allocations: 313.4 kB / 444.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.6561, allocations: 19.98 kB / 444.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007822/0.6639, allocations: 3.632 MB / 448 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.664, allocations: 4 kB / 448 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003311/0.6673, allocations: 1.295 MB / 449.3 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005572/0.6679, allocations: 252 kB / 449.6 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.6681, allocations: 19.94 kB / 449.6 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007977/0.6689, allocations: 48.03 kB / 449.6 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003076/0.6692, allocations: 80.66 kB / 449.7 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.029e-05/0.6693, allocations: 20 kB / 449.7 MB, free: 9.562 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009497/0.6702, allocations: 459.2 kB / 450.2 MB, free: 9.121 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.6703, allocations: 0 / 450.2 MB, free: 9.121 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00208/0.6723, allocations: 447.1 kB / 450.6 MB, free: 8.684 MB / 362.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.003862/0.6763, allocations: 1.886 MB / 452.5 MB, free: 6.766 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004721/0.681, allocations: 1.725 MB / 454.2 MB, free: 5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/0.6811, allocations: 0 / 454.2 MB, free: 5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001756/0.6829, allocations: 0.6339 MB / 454.9 MB, free: 4.359 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.6842, allocations: 154.8 kB / 455 MB, free: 4.207 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005197/0.6895, allocations: 1.342 MB / 456.4 MB, free: 2.824 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008475/0.6904, allocations: 1.02 MB / 457.4 MB, free: 1.773 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008634/0.6913, allocations: 110.6 kB / 457.5 MB, free: 1.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005909/0.6919, allocations: 283.3 kB / 457.8 MB, free: 1.383 MB / 362.7 MB Notification: Performance of SimCode: time 1.203e-06/0.6919, allocations: 0 / 457.8 MB, free: 1.383 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08071/0.7726, allocations: 24.07 MB / 481.8 MB, free: 9.371 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002317/0.7729, allocations: 192.5 kB / 482 MB, free: 9.152 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.497/4.27, allocations: 0 / 482 MB, free: 9.152 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_R_res.mat does not exist to compare? outputFormat=mat