Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_DCDC_ChopperStepUp_ChopperStepUp_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.995/1.995, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.153e-05/3.166e-05, allocations: 1.562 kB / 292.2 MB, free: 8.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1088, allocations: 50.41 MB / 342.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.446/0.5549, allocations: 86.1 MB / 428.7 MB, free: 7.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/0.5553, allocations: 86.88 kB / 428.8 MB, free: 7.699 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04377/0.5991, allocations: 9.719 MB / 438.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5991, allocations: 0 / 438.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.699e-05/0.5992, allocations: 12 kB / 438.6 MB, free: 15.39 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.002129/0.6013, allocations: 0.7602 MB / 439.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.6014, allocations: 16.02 kB / 439.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001726/0.6016, allocations: 85.84 kB / 439.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.6018, allocations: 67.23 kB / 439.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009102/0.6027, allocations: 391.8 kB / 439.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.237e-05/0.6028, allocations: 43.3 kB / 439.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.6029, allocations: 49.19 kB / 440 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.6041, allocations: 466.5 kB / 440.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.6042, allocations: 4 kB / 440.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.433e-05/0.6042, allocations: 21.31 kB / 440.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.6043, allocations: 12 kB / 440.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008679/0.6051, allocations: 293.3 kB / 440.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004185/0.6093, allocations: 1.78 MB / 442.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.6107, allocations: 362.3 kB / 442.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006583/0.6114, allocations: 212.6 kB / 443.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.163e-05/0.6115, allocations: 7.984 kB / 443.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006379/0.6121, allocations: 267.8 kB / 443.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.976e-06/0.6121, allocations: 0 / 443.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.001074/0.6132, allocations: 357.9 kB / 443.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.942e-05/0.6133, allocations: 122.5 kB / 443.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005724/0.6139, allocations: 318.4 kB / 444.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.981e-05/0.614, allocations: 36.95 kB / 444.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.6142, allocations: 287.5 kB / 444.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.6144, allocations: 124.7 kB / 444.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.903e-05/0.6145, allocations: 13.44 kB / 444.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.6146, allocations: 329.4 kB / 444.9 MB, free: 9.996 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.615, allocations: 113.3 kB / 445 MB, free: 9.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000442/0.6154, allocations: 231.6 kB / 445.2 MB, free: 9.707 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.6158, allocations: 152.4 kB / 445.4 MB, free: 9.594 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.6158, allocations: 0 / 445.4 MB, free: 9.594 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001157/0.617, allocations: 452.5 kB / 445.8 MB, free: 9.242 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005885/0.6176, allocations: 1.337 MB / 447.2 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.6177, allocations: 4 kB / 447.2 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004278/0.6181, allocations: 67.39 kB / 447.2 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007212/0.6188, allocations: 99.31 kB / 447.3 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.6211, allocations: 1.694 MB / 449 MB, free: 6.031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007252/0.6219, allocations: 62.81 kB / 449.1 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/0.622, allocations: 27 kB / 449.1 MB, free: 5.957 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.622, allocations: 4 kB / 449.1 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001097/0.6231, allocations: 414.5 kB / 449.5 MB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.6231, allocations: 7.984 kB / 449.5 MB, free: 5.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003191/0.6235, allocations: 70.55 kB / 449.6 MB, free: 5.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/0.6241, allocations: 90.83 kB / 449.7 MB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/0.6263, allocations: 1.677 MB / 451.4 MB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000569/0.6269, allocations: 49.72 kB / 451.4 MB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.932e-05/0.627, allocations: 19.75 kB / 451.4 MB, free: 3.816 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.0002432/0.6273, allocations: 145.6 kB / 451.6 MB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.6274, allocations: 39.53 kB / 451.6 MB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.6286, allocations: 401.2 kB / 452 MB, free: 3.355 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.6286, allocations: 7.953 kB / 452 MB, free: 3.348 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.6286, allocations: 48 / 452 MB, free: 3.348 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.6286, allocations: 3.984 kB / 452 MB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.6309, allocations: 0.9849 MB / 453 MB, free: 2.531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.631, allocations: 3.938 kB / 453 MB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000646/0.6316, allocations: 75.09 kB / 453.1 MB, free: 2.457 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003404/0.632, allocations: 65.48 kB / 453.1 MB, free: 2.406 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.81e-05/0.632, allocations: 13.55 kB / 453.2 MB, free: 2.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00225/0.6343, allocations: 1.683 MB / 454.8 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6343, allocations: 0 / 454.8 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/0.6359, allocations: 0.6407 MB / 455.5 MB, free: 272 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002914/0.6362, allocations: 158.2 kB / 455.6 MB, free: 112 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.6364, allocations: 11.56 kB / 455.6 MB, free: 108 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006134/0.637, allocations: 39.45 kB / 455.7 MB, free: 72 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/0.6372, allocations: 43.44 kB / 455.7 MB, free: 36 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.55e-05/0.6372, allocations: 15.62 kB / 455.7 MB, free: 24 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004776/0.6377, allocations: 257.2 kB / 456 MB, free: 15.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.737e-06/0.6377, allocations: 0 / 456 MB, free: 15.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001304/0.6391, allocations: 238.2 kB / 456.2 MB, free: 15.61 MB / 378.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.001995/0.6411, allocations: 1.278 MB / 457.5 MB, free: 14.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001988/0.6431, allocations: 0.8595 MB / 458.4 MB, free: 13.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.6432, allocations: 0 / 458.4 MB, free: 13.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006691/0.6438, allocations: 288.9 kB / 458.6 MB, free: 13.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007466/0.6446, allocations: 82.98 kB / 458.7 MB, free: 13.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/0.6474, allocations: 0.8456 MB / 459.6 MB, free: 12.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005834/0.648, allocations: 0.8517 MB / 460.4 MB, free: 11.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003632/0.6484, allocations: 170.7 kB / 460.6 MB, free: 11.71 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6484, allocations: 4 kB / 460.6 MB, free: 11.71 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.992/3.64, allocations: 9.677 MB / 470.3 MB, free: 2.133 MB / 378.7 MB