Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCDC_ChopperStepDown_ChopperStepDown_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.021/2.021, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.959e-05/2.975e-05, allocations: 5.562 kB / 292.8 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1116, allocations: 50.42 MB / 343.2 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5171/0.6287, allocations: 86.18 MB / 429.4 MB, free: 8.078 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/0.6291, allocations: 86.08 kB / 429.4 MB, free: 8.031 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04673/0.6758, allocations: 10.06 MB / 439.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.6759, allocations: 0 / 439.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.598e-05/0.676, allocations: 12 kB / 439.5 MB, free: 15.45 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002122/0.6781, allocations: 0.7858 MB / 440.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.6781, allocations: 8.031 kB / 440.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001493/0.6783, allocations: 89.7 kB / 440.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.6785, allocations: 63.25 kB / 440.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008648/0.6794, allocations: 394.7 kB / 440.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.908e-05/0.6794, allocations: 38.38 kB / 440.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.6796, allocations: 61.03 kB / 440.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.6808, allocations: 490.8 kB / 441.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.6808, allocations: 0 / 441.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.292e-05/0.6809, allocations: 17.25 kB / 441.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.681, allocations: 12 kB / 441.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009213/0.6819, allocations: 313.9 kB / 441.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004249/0.6861, allocations: 1.87 MB / 443.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.6876, allocations: 377.2 kB / 444 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006966/0.6883, allocations: 223 kB / 444.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.686e-05/0.6884, allocations: 8.328 kB / 444.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006361/0.689, allocations: 255.6 kB / 444.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 2.875e-06/0.6891, allocations: 0 / 444.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001076/0.6901, allocations: 376.6 kB / 444.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.209e-05/0.6903, allocations: 122.7 kB / 445 MB, free: 10.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005832/0.6909, allocations: 328.5 kB / 445.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.755e-05/0.6909, allocations: 40.39 kB / 445.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/0.6912, allocations: 255.6 kB / 445.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/0.6914, allocations: 139.4 kB / 445.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.6914, allocations: 10.88 kB / 445.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.6916, allocations: 348.2 kB / 446.1 MB, free: 9.906 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.692, allocations: 116 kB / 446.2 MB, free: 9.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004651/0.6925, allocations: 239.8 kB / 446.4 MB, free: 9.613 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004057/0.6929, allocations: 166 kB / 446.6 MB, free: 9.488 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.6929, allocations: 4 kB / 446.6 MB, free: 9.484 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0012/0.6941, allocations: 489.1 kB / 447 MB, free: 9.102 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006269/0.6948, allocations: 1.336 MB / 448.4 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.6948, allocations: 4 kB / 448.4 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004254/0.6952, allocations: 84.12 kB / 448.5 MB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007064/0.696, allocations: 91.14 kB / 448.6 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/0.6983, allocations: 1.691 MB / 450.2 MB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006847/0.699, allocations: 74.19 kB / 450.3 MB, free: 5.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-05/0.699, allocations: 19.06 kB / 450.3 MB, free: 5.809 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.6991, allocations: 4 kB / 450.3 MB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001107/0.7002, allocations: 426.3 kB / 450.8 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.7002, allocations: 4 kB / 450.8 MB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003246/0.7005, allocations: 78.22 kB / 450.8 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006251/0.7012, allocations: 83.52 kB / 450.9 MB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/0.7034, allocations: 1.694 MB / 452.6 MB, free: 3.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006225/0.704, allocations: 64.72 kB / 452.7 MB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.032e-05/0.7041, allocations: 18.25 kB / 452.7 MB, free: 3.637 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,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 (53): * Single equations (assignments): 51 * 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.0002248/0.7043, allocations: 142 kB / 452.8 MB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.7044, allocations: 55.33 kB / 452.9 MB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.7056, allocations: 421.1 kB / 453.3 MB, free: 3.156 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.7056, allocations: 8.125 kB / 453.3 MB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.7056, allocations: 4 kB / 453.3 MB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.7056, allocations: 3.984 kB / 453.3 MB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.7078, allocations: 1.033 MB / 454.4 MB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.7078, allocations: 0 / 454.4 MB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006754/0.7085, allocations: 75.14 kB / 454.4 MB, free: 2.219 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003163/0.7088, allocations: 62.08 kB / 454.5 MB, free: 2.172 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.722e-05/0.7089, allocations: 14.73 kB / 454.5 MB, free: 2.164 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002155/0.711, allocations: 1.685 MB / 456.2 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.7111, allocations: 3.953 kB / 456.2 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/0.7126, allocations: 0.6719 MB / 456.9 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002778/0.7129, allocations: 160.5 kB / 457 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.713, allocations: 15.95 kB / 457 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006132/0.7137, allocations: 39.97 kB / 457.1 MB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.7139, allocations: 47.86 kB / 457.1 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.873e-05/0.7139, allocations: 16 kB / 457.1 MB, free: 15.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004489/0.7144, allocations: 261.2 kB / 457.4 MB, free: 15.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7144, allocations: 0 / 457.4 MB, free: 15.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001304/0.7157, allocations: 251.4 kB / 457.6 MB, free: 15.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (meanCurrent.x,meanVoltage.x,inductor.i,capacitor.v,loadInductor.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_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 (39): * Single equations (assignments): 32 * 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.002126/0.7178, allocations: 1.394 MB / 459 MB, free: 13.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002105/0.72, allocations: 0.8847 MB / 459.9 MB, free: 12.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.72, allocations: 0 / 459.9 MB, free: 12.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006883/0.7207, allocations: 317.3 kB / 460.2 MB, free: 12.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000751/0.7215, allocations: 90.52 kB / 460.3 MB, free: 12.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/0.7245, allocations: 0.9211 MB / 461.2 MB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005805/0.7251, allocations: 0.8681 MB / 462.1 MB, free: 10.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004985/0.7256, allocations: 72.23 kB / 462.2 MB, free: 10.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000354/0.726, allocations: 175.4 kB / 462.3 MB, free: 10.29 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.726, allocations: 0 / 462.3 MB, free: 10.29 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04589/0.7719, allocations: 11.3 MB / 473.6 MB, free: 15.21 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/0.7721, allocations: 220.7 kB / 473.9 MB, free: 14.98 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.028/3.8, allocations: 6.75 kB / 473.9 MB, free: 14.98 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL_res.mat does not exist to compare? outputFormat=mat