Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCDC_HBridge_HBridge_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.098/2.098, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.875e-05/4.899e-05, allocations: 6.797 kB / 292.8 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1273, allocations: 50.41 MB / 343.2 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4918/0.6191, allocations: 86.88 MB / 430.1 MB, free: 7.012 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003331/0.6195, allocations: 85.69 kB / 430.1 MB, free: 6.965 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06663/0.6862, allocations: 15.34 MB / 445.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6862, allocations: 0 / 445.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001146/0.6864, allocations: 23.94 kB / 445.5 MB, free: 10.04 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.003688/0.6901, allocations: 1.057 MB / 446.6 MB, free: 8.977 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.6902, allocations: 12.03 kB / 446.6 MB, free: 8.965 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004774/0.6906, allocations: 137 kB / 446.7 MB, free: 8.875 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004162/0.6911, allocations: 114.3 kB / 446.8 MB, free: 8.766 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.693, allocations: 0.6298 MB / 447.4 MB, free: 8.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.6931, allocations: 70.31 kB / 447.5 MB, free: 8.207 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003059/0.6934, allocations: 88.45 kB / 447.6 MB, free: 8.148 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002872/0.6963, allocations: 0.9055 MB / 448.5 MB, free: 7.508 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.859e-05/0.6964, allocations: 7.844 kB / 448.5 MB, free: 7.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001597/0.6966, allocations: 43.55 kB / 448.6 MB, free: 7.484 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.017e-05/0.6966, allocations: 20 kB / 448.6 MB, free: 7.465 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002432/0.6991, allocations: 0.6572 MB / 449.2 MB, free: 7.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009339/0.7085, allocations: 3.724 MB / 453 MB, free: 4.184 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002268/0.7108, allocations: 0.7546 MB / 453.7 MB, free: 3.738 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.7122, allocations: 433.8 kB / 454.1 MB, free: 3.312 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.7124, allocations: 16.72 kB / 454.1 MB, free: 3.297 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001322/0.7137, allocations: 439.7 kB / 454.6 MB, free: 2.848 MB / 362.7 MB Notification: Performance of pre-optimization done (n=81): time 4.669e-06/0.7138, allocations: 0 / 454.6 MB, free: 2.848 MB / 362.7 MB Notification: Performance of matching and sorting (n=81): time 0.0029/0.7167, allocations: 0.8484 MB / 455.4 MB, free: 1.988 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.7168, allocations: 115.5 kB / 455.5 MB, free: 1.852 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.7183, allocations: 0.5816 MB / 456.1 MB, free: 1.266 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002101/0.7186, allocations: 49.69 kB / 456.2 MB, free: 1.211 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005064/0.7191, allocations: 360.6 kB / 456.5 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004524/0.7196, allocations: 240.6 kB / 456.8 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.867e-05/0.7197, allocations: 16 kB / 456.8 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002816/0.7199, allocations: 386.7 kB / 457.2 MB, free: 216 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008473/0.7208, allocations: 241.6 kB / 457.4 MB, free: 15.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009705/0.7218, allocations: 377.7 kB / 457.8 MB, free: 15.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008923/0.7227, allocations: 279.8 kB / 458 MB, free: 15.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/0.7228, allocations: 4 kB / 458 MB, free: 15.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002841/0.7257, allocations: 0.9094 MB / 458.9 MB, free: 14.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006216/0.7263, allocations: 1.336 MB / 460.3 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.7264, allocations: 7.938 kB / 460.3 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00166/0.7281, allocations: 321.5 kB / 460.6 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008259/0.7289, allocations: 95.84 kB / 460.7 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008511/0.7375, allocations: 3.627 MB / 464.3 MB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.7387, allocations: 95.33 kB / 464.4 MB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/0.7389, allocations: 24 kB / 464.4 MB, free: 8.602 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.739, allocations: 4 kB / 464.4 MB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002528/0.7415, allocations: 0.8215 MB / 465.3 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/0.7416, allocations: 3.953 kB / 465.3 MB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001488/0.7431, allocations: 321.1 kB / 465.6 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007326/0.7439, allocations: 95.8 kB / 465.7 MB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008411/0.7523, allocations: 3.623 MB / 469.3 MB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.7535, allocations: 79.36 kB / 469.4 MB, free: 3.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.7537, allocations: 31.95 kB / 469.4 MB, free: 3.484 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 (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.0003512/0.7541, allocations: 164.8 kB / 469.6 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/0.7544, allocations: 82.97 kB / 469.6 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.7547, allocations: 92.27 kB / 469.7 MB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.7547, allocations: 12 kB / 469.7 MB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.7548, allocations: 0 / 469.7 MB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.7548, allocations: 7.984 kB / 469.8 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004915/0.7597, allocations: 1.911 MB / 471.7 MB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.7598, allocations: 4 kB / 471.7 MB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006246/0.7604, allocations: 59.91 kB / 471.7 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0015/0.7619, allocations: 320.8 kB / 472 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/0.7621, allocations: 15.98 kB / 472.1 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008212/0.7703, allocations: 3.635 MB / 475.7 MB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.7704, allocations: 0 / 475.7 MB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003615/0.774, allocations: 1.295 MB / 477 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007054/0.7748, allocations: 263.9 kB / 477.2 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000237/0.775, allocations: 16 kB / 477.3 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009034/0.776, allocations: 35.97 kB / 477.3 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000374/0.7764, allocations: 84.66 kB / 477.4 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.931e-05/0.7765, allocations: 16 kB / 477.4 MB, free: 11.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001055/0.7775, allocations: 463.2 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.7776, allocations: 7.938 kB / 477.9 MB, free: 10.78 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002491/0.7801, allocations: 443.2 kB / 478.3 MB, free: 10.34 MB / 394.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_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 (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.004122/0.7843, allocations: 1.882 MB / 480.2 MB, free: 8.438 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004951/0.7893, allocations: 1.729 MB / 481.9 MB, free: 6.664 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.7893, allocations: 0 / 481.9 MB, free: 6.664 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001933/0.7913, allocations: 0.6336 MB / 482.5 MB, free: 6.023 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.7928, allocations: 166.8 kB / 482.7 MB, free: 5.859 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005805/0.7987, allocations: 1.337 MB / 484 MB, free: 4.484 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000891/0.7996, allocations: 1.016 MB / 485 MB, free: 3.438 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009388/0.8006, allocations: 114.6 kB / 485.2 MB, free: 3.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006346/0.8013, allocations: 283.3 kB / 485.4 MB, free: 3.043 MB / 394.7 MB Notification: Performance of SimCode: time 1.212e-06/0.8013, allocations: 0 / 485.4 MB, free: 3.043 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08069/0.882, allocations: 24.04 MB / 0.4975 GB, free: 11.35 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003084/0.8824, allocations: 209.4 kB / 0.4977 GB, free: 11.12 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.696/4.578, allocations: 3.75 kB / 0.4977 GB, free: 11.12 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R_res.mat does not exist to compare? outputFormat=mat