Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_DCDC_HBridge_HBridge_RL",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.095/2.095, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.776e-05/2.778e-05, allocations: 2.062 kB / 249.8 MB, free: 5.27 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09874/0.0988, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4714/0.5702, allocations: 79.43 MB / 373.7 MB, free: 7.207 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/0.5706, allocations: 89.61 kB / 373.8 MB, free: 7.207 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05976/0.6304, allocations: 14.88 MB / 388.7 MB, free: 18.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.6305, allocations: 3.875 kB / 388.7 MB, free: 18.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.493e-05/0.6306, allocations: 27.12 kB / 388.7 MB, free: 18.23 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.0034/0.634, allocations: 1.064 MB / 389.8 MB, free: 17.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.6341, allocations: 7.688 kB / 389.8 MB, free: 17.47 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004936/0.6346, allocations: 116 kB / 389.9 MB, free: 17.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.6364, allocations: 0.6495 MB / 390.6 MB, free: 17.03 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.077e-05/0.6365, allocations: 27.44 kB / 390.6 MB, free: 17.03 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/0.6367, allocations: 50.88 kB / 390.6 MB, free: 17.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002095/0.6388, allocations: 0.6244 MB / 391.3 MB, free: 17.01 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002125/0.641, allocations: 0.803 MB / 392.1 MB, free: 16.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.404e-05/0.641, allocations: 7.781 kB / 392.1 MB, free: 16.74 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/0.6412, allocations: 7.391 kB / 392.1 MB, free: 16.74 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.49e-05/0.6412, allocations: 23.25 kB / 392.1 MB, free: 16.74 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008072/0.6493, allocations: 3.563 MB / 395.7 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.6511, allocations: 0.7285 MB / 396.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.6523, allocations: 451.5 kB / 396.8 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.781e-05/0.6524, allocations: 8.531 kB / 396.8 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001109/0.6535, allocations: 428.7 kB / 397.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=83): time 4.157e-06/0.6536, allocations: 0 / 397.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=83): time 0.002095/0.6557, allocations: 0.7265 MB / 398 MB, free: 14.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.842e-05/0.6558, allocations: 111.3 kB / 398.1 MB, free: 14.26 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008872/0.6567, allocations: 439.2 kB / 398.5 MB, free: 14.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.6568, allocations: 33.58 kB / 398.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004344/0.6573, allocations: 375.7 kB / 398.9 MB, free: 13.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003365/0.6576, allocations: 236.4 kB / 399.2 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.929e-05/0.6577, allocations: 0 / 399.2 MB, free: 13.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002172/0.658, allocations: 376.6 kB / 399.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006492/0.6586, allocations: 229.4 kB / 399.8 MB, free: 13.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007737/0.6594, allocations: 375.2 kB / 400.1 MB, free: 13.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006639/0.6601, allocations: 244 kB / 400.4 MB, free: 13.15 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.6601, allocations: 0 / 400.4 MB, free: 13.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002287/0.6624, allocations: 0.8006 MB / 401.2 MB, free: 12.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007482/0.6632, allocations: 1.346 MB / 402.5 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.6632, allocations: 3.875 kB / 402.5 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.6647, allocations: 283.5 kB / 402.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009603/0.6657, allocations: 111.2 kB / 402.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007903/0.6736, allocations: 4.414 MB / 407.3 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.6747, allocations: 78.64 kB / 407.4 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.098e-05/0.6748, allocations: 30.23 kB / 407.4 MB, free: 8.551 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.6749, allocations: 3.875 kB / 407.4 MB, free: 8.551 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002078/0.677, allocations: 0.7145 MB / 408.1 MB, free: 8.461 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.677, allocations: 3.875 kB / 408.1 MB, free: 8.461 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.6784, allocations: 278.4 kB / 408.4 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008634/0.6793, allocations: 101.1 kB / 408.5 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008048/0.6874, allocations: 4.427 MB / 412.9 MB, free: 5.477 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.6884, allocations: 50.83 kB / 413 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.72e-05/0.6885, allocations: 27.16 kB / 413 MB, free: 5.449 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.0003564/0.6889, allocations: 144.3 kB / 413.1 MB, free: 5.32 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002181/0.6911, allocations: 0.7273 MB / 413.9 MB, free: 5.082 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002475/0.6914, allocations: 70.19 kB / 413.9 MB, free: 5.047 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003453/0.6917, allocations: 82.58 kB / 414 MB, free: 4.977 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.6918, allocations: 7.719 kB / 414 MB, free: 4.977 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.6918, allocations: 0 / 414 MB, free: 4.977 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.6918, allocations: 7.922 kB / 414 MB, free: 4.969 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004594/0.6964, allocations: 1.744 MB / 415.8 MB, free: 3.773 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.6965, allocations: 0 / 415.8 MB, free: 3.773 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008362/0.6973, allocations: 81.98 kB / 415.9 MB, free: 3.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001385/0.6987, allocations: 270.2 kB / 416.1 MB, free: 3.605 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/0.6989, allocations: 11.86 kB / 416.1 MB, free: 3.598 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008641/0.7075, allocations: 4.405 MB / 420.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.7076, allocations: 0 / 420.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003649/0.7112, allocations: 1.218 MB / 421.8 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006645/0.712, allocations: 240.2 kB / 422 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/0.7122, allocations: 4.094 kB / 422 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008334/0.713, allocations: 31.97 kB / 422 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004002/0.7134, allocations: 88.64 kB / 422.1 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.245e-05/0.7135, allocations: 23.98 kB / 422.1 MB, free: 13.4 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007103/0.7143, allocations: 322.9 kB / 422.5 MB, free: 13.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.61e-07/0.7143, allocations: 0 / 422.5 MB, free: 13.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002545/0.7168, allocations: 410.8 kB / 422.9 MB, free: 12.68 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.004066/0.7209, allocations: 1.794 MB / 424.7 MB, free: 10.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005028/0.726, allocations: 1.825 MB / 426.5 MB, free: 8.969 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.7261, allocations: 0 / 426.5 MB, free: 8.969 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001877/0.728, allocations: 0.6982 MB / 427.2 MB, free: 8.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.7293, allocations: 110 kB / 427.3 MB, free: 8.145 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005745/0.7351, allocations: 1.29 MB / 428.6 MB, free: 6.809 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009831/0.7361, allocations: 1.016 MB / 429.6 MB, free: 5.758 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008509/0.737, allocations: 93.62 kB / 429.7 MB, free: 5.664 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006636/0.7377, allocations: 279.3 kB / 430 MB, free: 5.391 MB / 330.7 MB Notification: Performance of SimCode: time 1.182e-06/0.7377, allocations: 0 / 430 MB, free: 5.391 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1099/0.8476, allocations: 20.4 MB / 450.4 MB, free: 1.047 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003356/0.848, allocations: 164.3 kB / 450.5 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.745/4.593, allocations: 7.938 kB / 450.5 MB, free: 0.8477 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL_res.mat does not exist to compare? outputFormat=mat