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.963/1.963, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.306e-05/3.325e-05, allocations: 4 kB / 255.5 MB, free: 2.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09734/0.0974, allocations: 44.51 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4676/0.5651, allocations: 80.09 MB / 380.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004461/0.5656, allocations: 84.38 kB / 380.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07045/0.6361, allocations: 15.05 MB / 395.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6361, allocations: 0 / 395.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.602e-05/0.6362, allocations: 23.47 kB / 395.2 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.002623/0.6388, allocations: 1.077 MB / 396.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.6389, allocations: 7.844 kB / 396.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002421/0.6392, allocations: 137.2 kB / 396.4 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002627/0.6394, allocations: 112.9 kB / 396.6 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.6408, allocations: 0.6379 MB / 397.2 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.103e-05/0.6408, allocations: 71.69 kB / 397.3 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.641, allocations: 88.56 kB / 397.3 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/0.6432, allocations: 0.9256 MB / 398.3 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.602e-05/0.6433, allocations: 0 / 398.3 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.6434, allocations: 43.23 kB / 398.3 MB, free: 9.977 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/0.6434, allocations: 20.84 kB / 398.3 MB, free: 9.977 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.6452, allocations: 0.6851 MB / 399 MB, free: 9.957 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006819/0.652, allocations: 3.757 MB / 402.8 MB, free: 7.941 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.6538, allocations: 0.7819 MB / 403.6 MB, free: 7.871 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.6549, allocations: 463 kB / 404 MB, free: 7.848 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.303e-05/0.655, allocations: 8.062 kB / 404 MB, free: 7.844 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009569/0.656, allocations: 452.3 kB / 404.5 MB, free: 7.699 MB / 314.7 MB Notification: Performance of pre-optimization done (n=83): time 3.276e-06/0.656, allocations: 0 / 404.5 MB, free: 7.699 MB / 314.7 MB Notification: Performance of matching and sorting (n=83): time 0.002046/0.658, allocations: 0.7933 MB / 405.3 MB, free: 7.562 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.6581, allocations: 115.4 kB / 405.4 MB, free: 7.438 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.6592, allocations: 0.5895 MB / 406 MB, free: 7.262 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.857e-05/0.6593, allocations: 43.78 kB / 406 MB, free: 7.227 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003113/0.6596, allocations: 363.4 kB / 406.4 MB, free: 7.035 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.6599, allocations: 255.6 kB / 406.6 MB, free: 6.859 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/0.66, allocations: 14.59 kB / 406.6 MB, free: 6.859 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.6601, allocations: 388.4 kB / 407 MB, free: 6.523 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006301/0.6607, allocations: 242.6 kB / 407.2 MB, free: 6.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007154/0.6615, allocations: 396.3 kB / 407.6 MB, free: 6.355 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006588/0.6621, allocations: 294.9 kB / 407.9 MB, free: 6.281 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.6622, allocations: 0 / 407.9 MB, free: 6.281 MB / 314.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002173/0.6643, allocations: 0.9221 MB / 408.8 MB, free: 6.078 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002855/0.6647, allocations: 1.339 MB / 410.2 MB, free: 4.672 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.6647, allocations: 3.875 kB / 410.2 MB, free: 4.672 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/0.6659, allocations: 285 kB / 410.5 MB, free: 4.613 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008485/0.6668, allocations: 112.6 kB / 410.6 MB, free: 4.586 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007194/0.674, allocations: 4.562 MB / 415.1 MB, free: 17.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.6752, allocations: 93.27 kB / 415.2 MB, free: 17.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.857e-05/0.6753, allocations: 26.78 kB / 415.2 MB, free: 17.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.6754, allocations: 5.906 kB / 415.2 MB, free: 17.55 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001945/0.6773, allocations: 0.834 MB / 416.1 MB, free: 17.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.6773, allocations: 3.812 kB / 416.1 MB, free: 17.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.6785, allocations: 289.5 kB / 416.4 MB, free: 17.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007068/0.6793, allocations: 101.4 kB / 416.5 MB, free: 17.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007072/0.6863, allocations: 4.57 MB / 421 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.6874, allocations: 79.02 kB / 421.1 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.165e-05/0.6875, allocations: 37.7 kB / 421.1 MB, free: 14.27 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.0003256/0.6878, allocations: 158.3 kB / 421.3 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.688, allocations: 81.47 kB / 421.4 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.6883, allocations: 99.95 kB / 421.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.6884, allocations: 11.8 kB / 421.5 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.6884, allocations: 0 / 421.5 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.6884, allocations: 3.984 kB / 421.5 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003899/0.6923, allocations: 1.936 MB / 423.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.6924, allocations: 0 / 423.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006825/0.6931, allocations: 73.33 kB / 423.5 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/0.6942, allocations: 289.4 kB / 423.8 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.6943, allocations: 19.81 kB / 423.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01129/0.7056, allocations: 4.569 MB / 428.4 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.7057, allocations: 0 / 428.4 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004914/0.7106, allocations: 1.293 MB / 429.7 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006762/0.7114, allocations: 258.5 kB / 429.9 MB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.7116, allocations: 15.88 kB / 429.9 MB, free: 8.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008036/0.7124, allocations: 47.34 kB / 430 MB, free: 8.156 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003019/0.7127, allocations: 83.64 kB / 430.1 MB, free: 8.102 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.664e-05/0.7128, allocations: 19.69 kB / 430.1 MB, free: 8.098 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008737/0.7137, allocations: 459.3 kB / 430.5 MB, free: 7.855 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7137, allocations: 0 / 430.5 MB, free: 7.855 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001965/0.7156, allocations: 457.8 kB / 431 MB, free: 7.758 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.003551/0.7192, allocations: 1.88 MB / 432.9 MB, free: 6.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004405/0.7237, allocations: 1.942 MB / 434.8 MB, free: 5.191 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.7237, allocations: 0 / 434.8 MB, free: 5.191 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001599/0.7253, allocations: 0.7347 MB / 435.5 MB, free: 4.688 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.7266, allocations: 160.1 kB / 435.7 MB, free: 4.602 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004524/0.7311, allocations: 1.383 MB / 437.1 MB, free: 3.809 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008144/0.7319, allocations: 1.024 MB / 438.1 MB, free: 2.949 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007614/0.7327, allocations: 119.3 kB / 438.2 MB, free: 2.887 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005474/0.7333, allocations: 298.2 kB / 438.5 MB, free: 2.629 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.7333, allocations: 0 / 438.5 MB, free: 2.629 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1426/0.8759, allocations: 23.71 MB / 462.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002737/0.8763, allocations: 202.8 kB / 462.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.661/4.537, allocations: 0 / 462.4 MB, free: 14.39 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