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 2.324/2.324, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.345e-05/2.356e-05, allocations: 0 / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3143, allocations: 44.5 MB / 294.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1492/0.4635, allocations: 77.27 MB / 371.5 MB, free: 4.543 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003401/0.464, allocations: 79.95 kB / 371.6 MB, free: 4.465 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04284/0.5068, allocations: 6.799 MB / 378.4 MB, free: 13.63 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5069, allocations: 0 / 378.4 MB, free: 13.63 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.449e-05/0.507, allocations: 19.98 kB / 378.4 MB, free: 13.61 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.002383/0.5094, allocations: 0.6991 MB / 379.1 MB, free: 12.87 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.5094, allocations: 8.031 kB / 379.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002185/0.5097, allocations: 55.39 kB / 379.2 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.5108, allocations: 359.3 kB / 379.5 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.277e-05/0.5109, allocations: 12 kB / 379.5 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.511, allocations: 31.98 kB / 379.6 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001319/0.5124, allocations: 246.5 kB / 379.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.5137, allocations: 386.8 kB / 380.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.5137, allocations: 0 / 380.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.866e-05/0.5138, allocations: 3.984 kB / 380.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.332e-05/0.5139, allocations: 15.95 kB / 380.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0054/0.5193, allocations: 1.572 MB / 381.8 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.5206, allocations: 266.8 kB / 382 MB, free: 9.773 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005903/0.5212, allocations: 144.8 kB / 382.2 MB, free: 9.629 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.059e-05/0.5213, allocations: 4 kB / 382.2 MB, free: 9.625 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007233/0.522, allocations: 213.7 kB / 382.4 MB, free: 9.395 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 3.737e-06/0.522, allocations: 0 / 382.4 MB, free: 9.395 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.001218/0.5233, allocations: 301.8 kB / 382.7 MB, free: 9.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.5234, allocations: 140.5 kB / 382.8 MB, free: 8.922 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007193/0.5242, allocations: 250.2 kB / 383.1 MB, free: 8.672 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.495e-05/0.5243, allocations: 29.64 kB / 383.1 MB, free: 8.637 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005099/0.5248, allocations: 228.1 kB / 383.3 MB, free: 8.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.525, allocations: 98.62 kB / 383.4 MB, free: 8.312 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.482e-05/0.5251, allocations: 0 / 383.4 MB, free: 8.312 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002303/0.5254, allocations: 346.8 kB / 383.8 MB, free: 7.965 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005326/0.5259, allocations: 84.88 kB / 383.8 MB, free: 7.879 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005571/0.5265, allocations: 210.9 kB / 384 MB, free: 7.617 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004915/0.527, allocations: 115.9 kB / 384.2 MB, free: 7.508 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.5271, allocations: 4 kB / 384.2 MB, free: 7.504 MB / 330.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001434/0.5285, allocations: 362.3 kB / 384.5 MB, free: 7.141 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008652/0.5294, allocations: 1.428 MB / 385.9 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/0.5295, allocations: 7.984 kB / 385.9 MB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005913/0.5301, allocations: 69.95 kB / 386 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007133/0.5308, allocations: 63.91 kB / 386.1 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003125/0.5339, allocations: 1.701 MB / 387.8 MB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.535, allocations: 55.66 kB / 387.8 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.627e-05/0.5351, allocations: 16 kB / 387.8 MB, free: 3.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.5351, allocations: 4 kB / 387.9 MB, free: 3.566 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001264/0.5364, allocations: 316.8 kB / 388.2 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.5364, allocations: 8.062 kB / 388.2 MB, free: 3.246 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004728/0.5369, allocations: 77.22 kB / 388.2 MB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005315/0.5375, allocations: 59.92 kB / 388.3 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003387/0.5409, allocations: 1.693 MB / 390 MB, free: 1.305 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000855/0.5418, allocations: 39.72 kB / 390 MB, free: 1.266 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.5419, allocations: 16 kB / 390 MB, free: 1.25 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.0002931/0.5422, allocations: 134.9 kB / 390.2 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001174/0.5434, allocations: 294 kB / 390.5 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.5436, allocations: 35.53 kB / 390.5 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001684/0.5438, allocations: 39.52 kB / 390.5 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.5438, allocations: 7.953 kB / 390.5 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5438, allocations: 0 / 390.5 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.5438, allocations: 7.984 kB / 390.6 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002579/0.5464, allocations: 0.8755 MB / 391.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.5465, allocations: 0 / 391.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004689/0.5469, allocations: 35.98 kB / 391.5 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003443/0.5473, allocations: 68.77 kB / 391.5 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.814e-05/0.5474, allocations: 11.98 kB / 391.5 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002291/0.5497, allocations: 1.627 MB / 393.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5497, allocations: 0 / 393.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.551, allocations: 0.5382 MB / 393.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002698/0.5513, allocations: 136.7 kB / 393.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.5514, allocations: 4 kB / 393.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000524/0.5519, allocations: 28.03 kB / 393.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.5521, allocations: 35.95 kB / 393.9 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.903e-05/0.5522, allocations: 11.98 kB / 393.9 MB, free: 13.13 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002855/0.5525, allocations: 190 kB / 394.1 MB, free: 12.94 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5525, allocations: 0 / 394.1 MB, free: 12.94 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001343/0.5538, allocations: 191.4 kB / 394.3 MB, free: 12.75 MB / 346.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.001719/0.5556, allocations: 1.152 MB / 395.4 MB, free: 11.56 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002053/0.5577, allocations: 0.79 MB / 396.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5577, allocations: 0 / 396.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006505/0.5584, allocations: 262.5 kB / 396.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005675/0.559, allocations: 48.62 kB / 396.5 MB, free: 10.42 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.5612, allocations: 0.6389 MB / 397.2 MB, free: 9.734 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/0.5617, allocations: 0.8315 MB / 398 MB, free: 8.875 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004019/0.5621, allocations: 51.25 kB / 398.1 MB, free: 8.824 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002641/0.5624, allocations: 131.4 kB / 398.2 MB, free: 8.695 MB / 346.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5624, allocations: 0 / 398.2 MB, free: 8.695 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05351/0.6159, allocations: 8.369 MB / 406.6 MB, free: 360 kB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003166/0.6163, allocations: 183.2 kB / 406.7 MB, free: 160 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.76/3.377, allocations: 4 kB / 406.7 MB, free: 156 kB / 346.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