Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_DCDC_ChopperStepUp_ChopperStepUp_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.186/2.186, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.352e-05/4.356e-05, allocations: 4 kB / 269.5 MB, free: 6.285 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1068, allocations: 47.57 MB / 317 MB, free: 6.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4049/0.5117, allocations: 83.11 MB / 400.1 MB, free: 4.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/0.5121, allocations: 91.72 kB / 400.2 MB, free: 4.539 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03238/0.5445, allocations: 7.583 MB / 407.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.5445, allocations: 3.938 kB / 407.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.262e-05/0.5446, allocations: 11.94 kB / 407.8 MB, free: 14.09 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001863/0.5465, allocations: 0.7223 MB / 408.6 MB, free: 13.35 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.5465, allocations: 8.031 kB / 408.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001317/0.5467, allocations: 85.52 kB / 408.7 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.5468, allocations: 55.34 kB / 408.7 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007532/0.5476, allocations: 380.7 kB / 409.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/0.5476, allocations: 36.31 kB / 409.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.5478, allocations: 43.56 kB / 409.2 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.5489, allocations: 452.5 kB / 409.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.5489, allocations: 4 kB / 409.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.25e-05/0.549, allocations: 19.42 kB / 409.6 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.549, allocations: 11.94 kB / 409.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008042/0.5498, allocations: 281.7 kB / 409.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003825/0.5537, allocations: 1.71 MB / 411.6 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009745/0.5547, allocations: 305.6 kB / 411.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000632/0.5553, allocations: 204.5 kB / 412.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.126e-05/0.5554, allocations: 4 kB / 412.1 MB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005483/0.5559, allocations: 233.8 kB / 412.3 MB, free: 10.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 2.725e-06/0.556, allocations: 0 / 412.3 MB, free: 10.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=39): time 0.0009598/0.5569, allocations: 348 kB / 412.7 MB, free: 10.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.826e-05/0.557, allocations: 114.1 kB / 412.8 MB, free: 9.875 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005868/0.5576, allocations: 311.7 kB / 413.1 MB, free: 9.621 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.283e-05/0.5577, allocations: 40.06 kB / 413.1 MB, free: 9.582 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.5579, allocations: 233.9 kB / 413.4 MB, free: 9.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.5581, allocations: 120.7 kB / 413.5 MB, free: 9.309 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/0.5582, allocations: 10.94 kB / 413.5 MB, free: 9.305 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.5584, allocations: 346.9 kB / 413.8 MB, free: 8.973 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.5587, allocations: 105.9 kB / 413.9 MB, free: 8.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004104/0.5591, allocations: 230.3 kB / 414.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/0.5595, allocations: 159.5 kB / 414.3 MB, free: 8.555 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.5595, allocations: 4 kB / 414.3 MB, free: 8.551 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001121/0.5607, allocations: 457.5 kB / 414.8 MB, free: 8.191 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005809/0.5613, allocations: 1.336 MB / 416.1 MB, free: 6.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.5613, allocations: 4 kB / 416.1 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004363/0.5617, allocations: 70.58 kB / 416.2 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005957/0.5623, allocations: 79.83 kB / 416.3 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/0.5646, allocations: 1.691 MB / 418 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007381/0.5653, allocations: 74.25 kB / 418 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.941e-05/0.5654, allocations: 19.8 kB / 418 MB, free: 4.914 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.5654, allocations: 4 kB / 418 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009974/0.5664, allocations: 397.6 kB / 418.4 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.5665, allocations: 4 kB / 418.4 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003287/0.5668, allocations: 79.48 kB / 418.5 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004981/0.5673, allocations: 79.66 kB / 418.6 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/0.5694, allocations: 1.682 MB / 420.3 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006512/0.5701, allocations: 55.03 kB / 420.3 MB, free: 2.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-05/0.5702, allocations: 19.62 kB / 420.3 MB, free: 2.781 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: 21 ($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,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 (48): * Single equations (assignments): 46 * 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.0002201/0.5704, allocations: 137.7 kB / 420.5 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.5705, allocations: 47.5 kB / 420.5 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.5707, allocations: 51.36 kB / 420.6 MB, free: 2.578 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.5707, allocations: 7.938 kB / 420.6 MB, free: 2.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.5707, allocations: 3.953 kB / 420.6 MB, free: 2.566 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.5707, allocations: 0 / 420.6 MB, free: 2.566 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/0.5726, allocations: 0.9174 MB / 421.5 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.5727, allocations: 4 kB / 421.5 MB, free: 1.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004533/0.5731, allocations: 47.59 kB / 421.6 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003161/0.5735, allocations: 66.53 kB / 421.6 MB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/0.5735, allocations: 11.3 kB / 421.6 MB, free: 1.699 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.5756, allocations: 1.686 MB / 423.3 MB, free: 68 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5757, allocations: 0 / 423.3 MB, free: 68 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.577, allocations: 0.5924 MB / 423.9 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/0.5773, allocations: 146.5 kB / 424.1 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.5774, allocations: 14.86 kB / 424.1 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005374/0.578, allocations: 31.3 kB / 424.1 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.5781, allocations: 38.94 kB / 424.1 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-05/0.5782, allocations: 11.88 kB / 424.2 MB, free: 15.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004192/0.5786, allocations: 247 kB / 424.4 MB, free: 15.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5786, allocations: 0 / 424.4 MB, free: 15.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00121/0.5798, allocations: 228.2 kB / 424.6 MB, free: 14.98 MB / 346.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,inductorSource.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,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 (32): * Single equations (assignments): 25 * 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.001724/0.5816, allocations: 1.232 MB / 425.8 MB, free: 13.87 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.5834, allocations: 0.8439 MB / 426.7 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.5835, allocations: 3.938 kB / 426.7 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005699/0.584, allocations: 278.5 kB / 427 MB, free: 12.92 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006848/0.5847, allocations: 74.47 kB / 427 MB, free: 12.86 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.5873, allocations: 0.7783 MB / 427.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/0.5879, allocations: 0.8443 MB / 428.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004579/0.5883, allocations: 63.27 kB / 428.7 MB, free: 11.19 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.5886, allocations: 143.8 kB / 428.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of SimCode: time 1.273e-06/0.5886, allocations: 0 / 428.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.063/0.6516, allocations: 10.3 MB / 439.2 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002935/0.652, allocations: 217.1 kB / 439.4 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.863/3.515, allocations: 0 / 439.4 MB, free: 0.7148 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R_res.mat does not exist to compare? outputFormat=mat