Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_DCDC_ChopperStepDown_ChopperStepDown_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.966/1.966, allocations: 194.9 MB / 208 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.591e-05/4.608e-05, allocations: 4 kB / 255.5 MB, free: 2.594 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.103, allocations: 44.5 MB / 300 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4663/0.5694, allocations: 77.94 MB / 377.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/0.5698, allocations: 86.09 kB / 378 MB, free: 12.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03006/0.5999, allocations: 6.876 MB / 384.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5999, allocations: 3.938 kB / 384.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.77e-05/0.6, allocations: 10.34 kB / 384.9 MB, free: 11.46 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001922/0.6019, allocations: 0.6953 MB / 385.6 MB, free: 10.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.602, allocations: 13.38 kB / 385.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002061/0.6022, allocations: 79.91 kB / 385.7 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.6024, allocations: 55.42 kB / 385.7 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007856/0.6032, allocations: 361.4 kB / 386.1 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.655e-05/0.6033, allocations: 30.67 kB / 386.1 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.6034, allocations: 44.69 kB / 386.2 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.6047, allocations: 435.4 kB / 386.6 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.6047, allocations: 0 / 386.6 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.216e-05/0.6048, allocations: 21.41 kB / 386.6 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.6048, allocations: 7.656 kB / 386.6 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007832/0.6056, allocations: 272.7 kB / 386.9 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003622/0.6093, allocations: 1.665 MB / 388.6 MB, free: 9.719 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008794/0.6102, allocations: 284.1 kB / 388.8 MB, free: 9.684 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004236/0.6107, allocations: 150.5 kB / 389 MB, free: 9.676 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.325e-05/0.6107, allocations: 3.906 kB / 389 MB, free: 9.676 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005094/0.6112, allocations: 226.5 kB / 389.2 MB, free: 9.598 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 4.899e-06/0.6113, allocations: 0 / 389.2 MB, free: 9.598 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009961/0.6123, allocations: 331.9 kB / 389.5 MB, free: 9.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.6123, allocations: 135.4 kB / 389.7 MB, free: 9.363 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004759/0.6128, allocations: 313.1 kB / 390 MB, free: 9.258 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.14e-05/0.6129, allocations: 39.55 kB / 390 MB, free: 9.223 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.6131, allocations: 227.2 kB / 390.2 MB, free: 9.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.886e-05/0.6132, allocations: 103.6 kB / 390.3 MB, free: 9.027 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.6132, allocations: 10.34 kB / 390.3 MB, free: 9.027 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.121e-05/0.6133, allocations: 349 kB / 390.7 MB, free: 8.715 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.6136, allocations: 95 kB / 390.8 MB, free: 8.711 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/0.6139, allocations: 223.9 kB / 391 MB, free: 8.559 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.6143, allocations: 141.5 kB / 391.1 MB, free: 8.516 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.6143, allocations: 0 / 391.1 MB, free: 8.516 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009463/0.6152, allocations: 436.5 kB / 391.6 MB, free: 8.402 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003163/0.6156, allocations: 1.42 MB / 393 MB, free: 6.906 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.6156, allocations: 3.844 kB / 393 MB, free: 6.906 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004636/0.6161, allocations: 83.17 kB / 393.1 MB, free: 6.891 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004711/0.6166, allocations: 60.88 kB / 393.1 MB, free: 6.887 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/0.619, allocations: 1.755 MB / 394.9 MB, free: 21.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007332/0.6198, allocations: 78.55 kB / 395 MB, free: 21.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.108e-05/0.6198, allocations: 14.97 kB / 395 MB, free: 21.49 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.6199, allocations: 3.875 kB / 395 MB, free: 21.49 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009004/0.6208, allocations: 380.1 kB / 395.3 MB, free: 21.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.6208, allocations: 3.906 kB / 395.3 MB, free: 21.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003423/0.6212, allocations: 76.16 kB / 395.4 MB, free: 21.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003805/0.6216, allocations: 66.66 kB / 395.5 MB, free: 21.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002311/0.6239, allocations: 1.752 MB / 397.2 MB, free: 20.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006325/0.6246, allocations: 60.27 kB / 397.3 MB, free: 20.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.6246, allocations: 15.41 kB / 397.3 MB, free: 20.01 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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,chopperStepDown.andCondition_p.y,chopperStepDown.fire_p,chopperStepDown.transistor.off,chopperStepDown.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 (43): * Single equations (assignments): 41 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002346/0.6249, allocations: 142 kB / 397.5 MB, free: 19.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.479e-05/0.625, allocations: 46.7 kB / 397.5 MB, free: 19.86 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.6251, allocations: 49.75 kB / 397.5 MB, free: 19.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.6251, allocations: 3.812 kB / 397.6 MB, free: 19.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.6251, allocations: 0 / 397.6 MB, free: 19.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.108e-06/0.6252, allocations: 2.766 kB / 397.6 MB, free: 19.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.6269, allocations: 0.9698 MB / 398.5 MB, free: 19.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.6269, allocations: 0 / 398.5 MB, free: 19.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003327/0.6273, allocations: 40.14 kB / 398.6 MB, free: 19.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003048/0.6276, allocations: 61.67 kB / 398.6 MB, free: 19.42 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.6277, allocations: 10.56 kB / 398.6 MB, free: 19.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002063/0.6297, allocations: 1.684 MB / 400.3 MB, free: 18.06 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.6298, allocations: 8.094 kB / 400.3 MB, free: 18.05 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.6309, allocations: 0.5561 MB / 400.9 MB, free: 17.85 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002701/0.6312, allocations: 147 kB / 401 MB, free: 17.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.885e-05/0.6313, allocations: 11.62 kB / 401 MB, free: 17.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005411/0.6319, allocations: 32.77 kB / 401.1 MB, free: 17.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.6321, allocations: 41.08 kB / 401.1 MB, free: 17.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.6321, allocations: 10.75 kB / 401.1 MB, free: 17.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003605/0.6325, allocations: 237.5 kB / 401.4 MB, free: 17.65 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6325, allocations: 0 / 401.4 MB, free: 17.65 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001168/0.6337, allocations: 205.5 kB / 401.6 MB, free: 17.62 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,meanVoltage.x,inductor.i) * Number of discrete variables: 15 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chopperStepDown.andCondition_p.y,chopperStepDown.fire_p,chopperStepDown.transistor.off,chopperStepDown.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 (29): * Single equations (assignments): 22 * 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.001589/0.6353, allocations: 1.192 MB / 402.7 MB, free: 16.83 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001774/0.6371, allocations: 0.8171 MB / 403.6 MB, free: 16.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.6371, allocations: 5.812 kB / 403.6 MB, free: 16.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005515/0.6377, allocations: 262 kB / 403.8 MB, free: 16.33 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006825/0.6384, allocations: 66.62 kB / 403.9 MB, free: 16.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.6408, allocations: 0.6677 MB / 404.6 MB, free: 16.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.6413, allocations: 0.8294 MB / 405.4 MB, free: 15.31 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004073/0.6417, allocations: 56.56 kB / 405.4 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.6419, allocations: 136.8 kB / 405.6 MB, free: 15.29 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.642, allocations: 0 / 405.6 MB, free: 15.29 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04781/0.6898, allocations: 9.744 MB / 415.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/0.6901, allocations: 219 kB / 415.5 MB, free: 12.38 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.917/3.607, allocations: 0 / 415.5 MB, free: 12.38 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL_res.mat does not exist to compare? outputFormat=mat