Notification: Performance of FrontEnd - loaded program: time 2.059e-05/2.079e-05, allocations: 4 kB / 334.4 MB, free: 9.711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2277, allocations: 44.52 MB / 378.9 MB, free: 75.06 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1121/0.3399, allocations: 76.98 MB / 455.9 MB, free: 9.797 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.3402, allocations: 89.91 kB / 456 MB, free: 9.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02203/0.3622, allocations: 6.536 MB / 462.5 MB, free: 3.141 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.786e-06/0.3622, allocations: 0 / 462.5 MB, free: 3.141 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.406e-05/0.3623, allocations: 8 kB / 462.6 MB, free: 3.133 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001089/0.3634, allocations: 0.6745 MB / 463.2 MB, free: 2.406 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.3634, allocations: 8.031 kB / 463.2 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.3636, allocations: 55.3 kB / 463.3 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005277/0.3641, allocations: 358.8 kB / 463.6 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.3641, allocations: 20.78 kB / 463.7 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.361e-05/0.3642, allocations: 24 kB / 463.7 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005649/0.3648, allocations: 233.5 kB / 463.9 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006798/0.3655, allocations: 356 kB / 464.3 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.3655, allocations: 3.938 kB / 464.3 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.933e-05/0.3656, allocations: 8 kB / 464.3 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.3656, allocations: 11.94 kB / 464.3 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002468/0.3681, allocations: 1.494 MB / 465.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006654/0.3688, allocations: 250.9 kB / 466 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/0.3692, allocations: 140.8 kB / 466.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.3692, allocations: 0 / 466.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004455/0.3697, allocations: 222.9 kB / 466.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 2.817e-06/0.3697, allocations: 3.938 kB / 466.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007178/0.3704, allocations: 283.7 kB / 466.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.465e-05/0.3705, allocations: 132.5 kB / 466.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.3709, allocations: 242.2 kB / 467 MB, free: 14.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/0.3709, allocations: 37.69 kB / 467.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.3711, allocations: 220.2 kB / 467.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.3713, allocations: 90.75 kB / 467.4 MB, free: 14.03 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.3713, allocations: 7.938 kB / 467.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3715, allocations: 346.8 kB / 467.7 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.3717, allocations: 84.88 kB / 467.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/0.3721, allocations: 207.2 kB / 468 MB, free: 13.33 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.3723, allocations: 97.66 kB / 468.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.892e-06/0.3723, allocations: 4 kB / 468.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008376/0.3732, allocations: 359 kB / 468.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006852/0.3739, allocations: 1.425 MB / 469.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3739, allocations: 4 kB / 469.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003827/0.3743, allocations: 80.81 kB / 470 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.3746, allocations: 59.91 kB / 470 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/0.3769, allocations: 1.74 MB / 471.8 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004432/0.3774, allocations: 63.72 kB / 471.8 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.282e-05/0.3774, allocations: 15.98 kB / 471.8 MB, free: 9.254 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.3775, allocations: 7.953 kB / 471.8 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007295/0.3782, allocations: 298.1 kB / 472.1 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.156e-06/0.3782, allocations: 4 kB / 472.1 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003086/0.3786, allocations: 80.75 kB / 472.2 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.3788, allocations: 51.91 kB / 472.3 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002289/0.3811, allocations: 1.752 MB / 474 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/0.3815, allocations: 47.72 kB / 474.1 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.3816, allocations: 16 kB / 474.1 MB, free: 6.891 MB / 334.1 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 (39): * Single equations (assignments): 37 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001764/0.3818, allocations: 135 kB / 474.2 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.941e-05/0.3818, allocations: 31.62 kB / 474.2 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.382, allocations: 35.47 kB / 474.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.17e-06/0.382, allocations: 4 kB / 474.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.689e-06/0.382, allocations: 4 kB / 474.3 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.108e-06/0.382, allocations: 3.984 kB / 474.3 MB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.3836, allocations: 0.8588 MB / 475.1 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3836, allocations: 384 / 475.1 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.3838, allocations: 27.92 kB / 475.2 MB, free: 5.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002921/0.3841, allocations: 80.78 kB / 475.3 MB, free: 5.652 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.41e-05/0.3842, allocations: 11.98 kB / 475.3 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/0.3863, allocations: 1.674 MB / 476.9 MB, free: 3.852 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3863, allocations: 0 / 476.9 MB, free: 3.852 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006099/0.3924, allocations: 3.809 MB / 480.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/0.3926, allocations: 136.7 kB / 480.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.536e-05/0.3927, allocations: 4 kB / 480.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003654/0.3931, allocations: 27.97 kB / 480.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.3932, allocations: 39.91 kB / 481 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.3933, allocations: 11.98 kB / 481 MB, free: 15.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002497/0.3935, allocations: 186.1 kB / 481.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.08e-07/0.3935, allocations: 0 / 481.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001499/0.3951, allocations: 235.4 kB / 481.4 MB, free: 15.13 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (meanCurrent.x,meanVoltage.x) * 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 (26): * Single equations (assignments): 19 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002001/0.3953, allocations: 124.3 kB / 481.5 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001458/0.3967, allocations: 0.7934 MB / 482.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.488e-06/0.3968, allocations: 4 kB / 482.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004746/0.3973, allocations: 254.9 kB / 482.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.3977, allocations: 57.08 kB / 482.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.3996, allocations: 0.8548 MB / 483.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005209/0.4002, allocations: 0.8356 MB / 484.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002862/0.4005, allocations: 47.25 kB / 484.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.988e-05/0.4006, allocations: 23.44 kB / 484.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of SimCode: time 1.2e-06/0.4006, allocations: 4 kB / 484.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of Templates: time 0.01748/0.4181, allocations: 6.116 MB / 490.5 MB, free: 5.91 MB / 350.1 MB