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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.708/1.708, allocations: 194.9 MB / 202.5 MB, free: 6.922 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2322/1.941, allocations: 46.86 MB / 249.4 MB, free: 5.316 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/2.042, allocations: 44.5 MB / 293.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2818/2.324, allocations: 79.36 MB / 373.2 MB, free: 7.125 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/2.325, allocations: 79.78 kB / 373.3 MB, free: 7.125 MB / 298.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.06007/2.385, allocations: 15.85 MB / 389.1 MB, free: 1.738 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.261e-05/2.385, allocations: 11.73 kB / 389.2 MB, free: 1.734 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005556/2.385, allocations: 115.5 kB / 389.3 MB, free: 1.676 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00252/2.388, allocations: 0.6416 MB / 389.9 MB, free: 1.305 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.326e-05/2.388, allocations: 26.72 kB / 389.9 MB, free: 1.305 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002409/2.388, allocations: 57.14 kB / 390 MB, free: 1.301 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003093/2.391, allocations: 0.6253 MB / 390.6 MB, free: 1.281 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003109/2.394, allocations: 0.8002 MB / 391.4 MB, free: 1.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.173e-05/2.395, allocations: 7.656 kB / 391.4 MB, free: 1.016 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001668/2.395, allocations: 4 kB / 391.4 MB, free: 1.012 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-05/2.395, allocations: 23.03 kB / 391.5 MB, free: 1.012 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01177/2.407, allocations: 3.576 MB / 395 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/2.409, allocations: 0.6419 MB / 395.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001771/2.411, allocations: 440.7 kB / 396.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.22e-05/2.411, allocations: 8.438 kB / 396.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001521/2.413, allocations: 407.2 kB / 396.5 MB, free: 14.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=83): time 6.141e-06/2.413, allocations: 0 / 396.5 MB, free: 14.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=83): time 0.003117/2.416, allocations: 0.7133 MB / 397.2 MB, free: 14.67 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/2.416, allocations: 114 kB / 397.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/2.417, allocations: 442.9 kB / 397.8 MB, free: 14.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001751/2.418, allocations: 28.14 kB / 397.8 MB, free: 14.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004404/2.418, allocations: 298.1 kB / 398.1 MB, free: 14.13 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004678/2.419, allocations: 242.6 kB / 398.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.605e-05/2.419, allocations: 3.25 kB / 398.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000287/2.419, allocations: 373.6 kB / 398.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/2.42, allocations: 230 kB / 398.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/2.421, allocations: 379.9 kB / 399.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/2.422, allocations: 235.9 kB / 399.5 MB, free: 13.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/2.422, allocations: 1.375 kB / 399.5 MB, free: 13.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003375/2.426, allocations: 0.7927 MB / 400.3 MB, free: 13.28 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007942/2.427, allocations: 1.315 MB / 401.6 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/2.427, allocations: 4.125 kB / 401.6 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002147/2.429, allocations: 283.9 kB / 401.9 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/2.43, allocations: 108.9 kB / 402 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/2.441, allocations: 4.031 MB / 406 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/2.443, allocations: 74.23 kB / 406.1 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.692e-05/2.443, allocations: 27.41 kB / 406.1 MB, free: 9.078 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/2.443, allocations: 3.719 kB / 406.1 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002058/2.445, allocations: 0.697 MB / 406.8 MB, free: 8.992 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/2.445, allocations: 8.375 kB / 406.8 MB, free: 8.988 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/2.446, allocations: 284.5 kB / 407.1 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008345/2.447, allocations: 100 kB / 407.2 MB, free: 8.906 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007476/2.455, allocations: 4.008 MB / 411.2 MB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/2.456, allocations: 52.81 kB / 411.3 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.318e-05/2.456, allocations: 39.91 kB / 411.3 MB, free: 6.188 MB / 314.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.0003463/2.456, allocations: 149.7 kB / 411.5 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/2.457, allocations: 69.84 kB / 411.5 MB, free: 6.016 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/2.457, allocations: 79.08 kB / 411.6 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/2.457, allocations: 8.469 kB / 411.6 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/2.457, allocations: 0 / 411.6 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/2.457, allocations: 5.234 kB / 411.6 MB, free: 5.988 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004566/2.462, allocations: 1.722 MB / 413.4 MB, free: 5.402 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/2.462, allocations: 1.219 kB / 413.4 MB, free: 5.402 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000801/2.462, allocations: 77.83 kB / 413.4 MB, free: 5.387 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001405/2.464, allocations: 281 kB / 413.7 MB, free: 5.285 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.982e-05/2.464, allocations: 9.297 kB / 413.7 MB, free: 5.277 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007857/2.472, allocations: 4.007 MB / 417.7 MB, free: 1.617 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/2.472, allocations: 0 / 417.7 MB, free: 1.617 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00346/2.475, allocations: 1.214 MB / 418.9 MB, free: 392 kB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004566/2.48, allocations: 1.977 MB / 420.9 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006229/2.481, allocations: 236.2 kB / 421.1 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/2.481, allocations: 3.984 kB / 421.1 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008215/2.482, allocations: 31.97 kB / 421.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/2.482, allocations: 64.69 kB / 421.2 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.79e-05/2.482, allocations: 23.98 kB / 421.3 MB, free: 14.01 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0006886/2.483, allocations: 319 kB / 421.6 MB, free: 13.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003672/2.486, allocations: 410.9 kB / 422 MB, free: 13.3 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.0003103/2.487, allocations: 122.2 kB / 422.1 MB, free: 13.17 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004382/2.491, allocations: 1.617 MB / 423.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/2.491, allocations: 0 / 423.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001634/2.493, allocations: 0.6275 MB / 424.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/2.494, allocations: 106.6 kB / 424.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005169/2.499, allocations: 1.208 MB / 425.6 MB, free: 9.516 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/2.5, allocations: 1.049 MB / 426.7 MB, free: 8.441 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/2.5, allocations: 0 / 426.7 MB, free: 8.441 MB / 330.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