Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCDC_ChopperStepUp_ChopperStepUp_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.11/2.11, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.241e-05/3.286e-05, allocations: 0 / 292.8 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1121, allocations: 50.4 MB / 343.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.444/0.5561, allocations: 86.01 MB / 429.2 MB, free: 8.258 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003428/0.5565, allocations: 94.38 kB / 429.3 MB, free: 8.203 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04727/0.6038, allocations: 9.718 MB / 439 MB, free: 15.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6038, allocations: 0 / 439 MB, free: 15.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.443e-05/0.6039, allocations: 12 kB / 439 MB, free: 15.9 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.00247/0.6064, allocations: 0.7696 MB / 439.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.6065, allocations: 12.02 kB / 439.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002447/0.6067, allocations: 85.16 kB / 439.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002214/0.607, allocations: 67.23 kB / 439.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.608, allocations: 393.9 kB / 440.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.671e-05/0.6081, allocations: 38.48 kB / 440.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.6083, allocations: 48.31 kB / 440.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.6096, allocations: 473.3 kB / 440.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.6097, allocations: 0 / 440.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.877e-05/0.6098, allocations: 16.88 kB / 440.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.6098, allocations: 12 kB / 440.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009719/0.6108, allocations: 302.6 kB / 441.2 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004757/0.6156, allocations: 1.776 MB / 443 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.6171, allocations: 351 kB / 443.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007491/0.6179, allocations: 213 kB / 443.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.734e-05/0.618, allocations: 11.98 kB / 443.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006978/0.6187, allocations: 263.8 kB / 443.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 6.201e-06/0.6188, allocations: 3.984 kB / 443.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.001177/0.62, allocations: 362.2 kB / 444.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.6201, allocations: 126.3 kB / 444.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006573/0.6208, allocations: 318.2 kB / 444.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001303/0.6209, allocations: 40.2 kB / 444.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/0.6212, allocations: 240.3 kB / 444.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/0.6215, allocations: 125.7 kB / 445 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.6215, allocations: 7.562 kB / 445 MB, free: 10.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.6217, allocations: 355.8 kB / 445.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/0.6221, allocations: 109.8 kB / 445.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004685/0.6226, allocations: 230.6 kB / 445.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/0.6231, allocations: 155.5 kB / 445.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.6231, allocations: 0 / 445.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001306/0.6244, allocations: 474.5 kB / 446.3 MB, free: 9.762 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007589/0.6252, allocations: 1.334 MB / 447.6 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.6253, allocations: 8 kB / 447.6 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004973/0.6258, allocations: 77.31 kB / 447.7 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007471/0.6265, allocations: 91 kB / 447.8 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002598/0.6292, allocations: 1.69 MB / 449.5 MB, free: 6.555 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000777/0.63, allocations: 66.72 kB / 449.5 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.286e-05/0.6301, allocations: 19.56 kB / 449.6 MB, free: 6.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.6301, allocations: 4 kB / 449.6 MB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001182/0.6313, allocations: 423.2 kB / 450 MB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.6314, allocations: 4.156 kB / 450 MB, free: 6.164 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003723/0.6318, allocations: 70.38 kB / 450.1 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006717/0.6325, allocations: 83.52 kB / 450.1 MB, free: 6.031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/0.635, allocations: 1.695 MB / 451.8 MB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007272/0.6358, allocations: 54.84 kB / 451.9 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.488e-05/0.6359, allocations: 18.31 kB / 451.9 MB, free: 4.324 MB / 362.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: 21 ($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,chopperStepUp.andCondition_p.y,chopperStepUp.fire_p,chopperStepUp.transistor.off,chopperStepUp.diode.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 (50): * Single equations (assignments): 48 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002616/0.6362, allocations: 145 kB / 452 MB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.6364, allocations: 47.52 kB / 452.1 MB, free: 4.145 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.6376, allocations: 391.1 kB / 452.5 MB, free: 3.863 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.6376, allocations: 11.95 kB / 452.5 MB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.6377, allocations: 0 / 452.5 MB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.6377, allocations: 3.938 kB / 452.5 MB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002443/0.6401, allocations: 0.9893 MB / 453.5 MB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/0.6402, allocations: 4 kB / 453.5 MB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000674/0.6409, allocations: 67.91 kB / 453.5 MB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003951/0.6413, allocations: 67.56 kB / 453.6 MB, free: 2.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.31e-05/0.6414, allocations: 10.62 kB / 453.6 MB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002412/0.6438, allocations: 1.685 MB / 455.3 MB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6439, allocations: 0 / 455.3 MB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.6456, allocations: 0.6443 MB / 455.9 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003494/0.646, allocations: 150.3 kB / 456.1 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.6461, allocations: 11.06 kB / 456.1 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006324/0.6468, allocations: 51.2 kB / 456.2 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/0.647, allocations: 38.81 kB / 456.2 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.62e-05/0.647, allocations: 15.38 kB / 456.2 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004717/0.6475, allocations: 253.3 kB / 456.5 MB, free: 336 kB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6475, allocations: 0 / 456.5 MB, free: 336 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001483/0.649, allocations: 236.3 kB / 456.7 MB, free: 120 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanCurrent.x,meanVoltage.x,inductor.i,capacitor.v) * Number of discrete variables: 15 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chopperStepUp.andCondition_p.y,chopperStepUp.fire_p,chopperStepUp.transistor.off,chopperStepUp.diode.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 (36): * Single equations (assignments): 29 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002195/0.6513, allocations: 1.281 MB / 458 MB, free: 14.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002327/0.6536, allocations: 0.868 MB / 458.8 MB, free: 13.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/0.6537, allocations: 0 / 458.8 MB, free: 13.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007637/0.6545, allocations: 301.7 kB / 459.1 MB, free: 13.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008236/0.6553, allocations: 73.19 kB / 459.2 MB, free: 13.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.6584, allocations: 0.8285 MB / 460 MB, free: 12.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005824/0.6591, allocations: 0.864 MB / 460.9 MB, free: 11.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000585/0.6597, allocations: 71.41 kB / 461 MB, free: 11.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003697/0.6601, allocations: 163.4 kB / 461.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of SimCode: time 1.433e-06/0.6601, allocations: 0 / 461.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04714/0.7072, allocations: 10.95 MB / 472.1 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003701/0.7077, allocations: 214.6 kB / 472.3 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.028/3.735, allocations: 0 / 472.3 MB, free: 0.6016 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R_res.mat does not exist to compare? outputFormat=mat