Notification: Performance of FrontEnd - loaded program: time 1.892e-05/1.909e-05, allocations: 5.062 kB / 339.6 MB, free: 4.434 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1982, allocations: 44.52 MB / 384.1 MB, free: 79.19 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09561/0.2939, allocations: 82.01 MB / 466.1 MB, free: 4.059 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.2941, allocations: 87.94 kB / 466.2 MB, free: 3.973 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04988/0.344, allocations: 10.49 MB / 476.7 MB, free: 9.422 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.028e-06/0.3441, allocations: 0 / 476.7 MB, free: 9.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.509e-05/0.3442, allocations: 20 kB / 476.7 MB, free: 9.402 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002804/0.347, allocations: 0.8591 MB / 477.6 MB, free: 8.496 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.3471, allocations: 8.031 kB / 477.6 MB, free: 8.488 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003399/0.3474, allocations: 95.02 kB / 477.7 MB, free: 8.395 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/0.3491, allocations: 492.1 kB / 478.2 MB, free: 7.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.433e-05/0.3492, allocations: 33.3 kB / 478.2 MB, free: 7.836 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/0.3494, allocations: 36 kB / 478.2 MB, free: 7.801 MB / 334.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001714/0.3511, allocations: 442.5 kB / 478.7 MB, free: 7.367 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.3525, allocations: 0.5707 MB / 479.2 MB, free: 6.773 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/0.3525, allocations: 4 kB / 479.3 MB, free: 6.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-05/0.3526, allocations: 0 / 479.3 MB, free: 6.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.3527, allocations: 16 kB / 479.3 MB, free: 6.754 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004928/0.3576, allocations: 2.454 MB / 481.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.359, allocations: 0.5449 MB / 482.3 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004895/0.3595, allocations: 238.5 kB / 482.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.378e-05/0.3596, allocations: 4.438 kB / 482.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006809/0.3603, allocations: 324.5 kB / 482.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of pre-optimization done (n=55): time 4.08e-06/0.3603, allocations: 0 / 482.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=55): time 0.001244/0.3615, allocations: 479.2 kB / 483.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.775e-05/0.3617, allocations: 115.3 kB / 483.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006458/0.3623, allocations: 365.1 kB / 483.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.125e-05/0.3624, allocations: 37.7 kB / 483.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003031/0.3627, allocations: 304.9 kB / 484.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.3629, allocations: 153.7 kB / 484.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.363, allocations: 0 / 484.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.3632, allocations: 362.8 kB / 484.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003918/0.3636, allocations: 165.5 kB / 484.8 MB, free: 1.066 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/0.3642, allocations: 308 kB / 485.1 MB, free: 0.707 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004282/0.3646, allocations: 182.1 kB / 485.2 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.778e-06/0.3646, allocations: 0 / 485.2 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001414/0.3661, allocations: 0.571 MB / 485.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008636/0.3669, allocations: 1.574 MB / 487.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.367, allocations: 4 kB / 487.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006451/0.3676, allocations: 148.8 kB / 487.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004594/0.3681, allocations: 91.83 kB / 487.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003618/0.3717, allocations: 2.252 MB / 489.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006637/0.3724, allocations: 71.53 kB / 489.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.053e-05/0.3725, allocations: 24 kB / 490 MB, free: 11.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.3725, allocations: 4 kB / 490 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001161/0.3737, allocations: 489.9 kB / 490.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.3738, allocations: 4 kB / 490.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005468/0.3743, allocations: 153.8 kB / 490.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.3747, allocations: 79.84 kB / 490.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003472/0.3782, allocations: 2.241 MB / 492.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005751/0.3788, allocations: 55.61 kB / 493 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/0.3789, allocations: 20 kB / 493 MB, free: 8.387 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002455/0.3791, allocations: 144.1 kB / 493.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.3793, allocations: 55.34 kB / 493.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.3795, allocations: 61 kB / 493.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.577e-06/0.3795, allocations: 4 kB / 493.3 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.669e-06/0.3795, allocations: 0 / 493.3 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.3795, allocations: 3.984 kB / 493.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/0.3819, allocations: 1.175 MB / 494.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.412e-06/0.3819, allocations: 0 / 494.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003068/0.3823, allocations: 51.84 kB / 494.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005679/0.3828, allocations: 128.8 kB / 494.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.65e-05/0.3829, allocations: 7.938 kB / 494.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003478/0.3864, allocations: 2.24 MB / 496.9 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.868e-06/0.3864, allocations: 0 / 496.9 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/0.397, allocations: 5.593 MB / 0.4907 GB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003216/0.3974, allocations: 184.3 kB / 0.4908 GB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.72e-05/0.3975, allocations: 3.953 kB / 0.4909 GB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000448/0.398, allocations: 36.03 kB / 0.4909 GB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/0.3982, allocations: 60.47 kB / 0.4909 GB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.848e-05/0.3982, allocations: 15.98 kB / 0.491 GB, free: 14.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004463/0.3987, allocations: 271 kB / 0.4912 GB, free: 13.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.74e-07/0.3987, allocations: 0 / 0.4912 GB, free: 13.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001897/0.4006, allocations: 391.1 kB / 0.4916 GB, free: 13.56 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 20 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002382/0.4009, allocations: 133.5 kB / 0.4917 GB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002202/0.4031, allocations: 1.068 MB / 0.4928 GB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.836e-06/0.4031, allocations: 0 / 0.4928 GB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007815/0.4039, allocations: 412.6 kB / 0.4932 GB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00063/0.4046, allocations: 73.83 kB / 0.4932 GB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003019/0.4076, allocations: 1.318 MB / 0.4945 GB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007582/0.4084, allocations: 0.9551 MB / 0.4954 GB, free: 9.492 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005773/0.409, allocations: 100.7 kB / 0.4955 GB, free: 9.391 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.4091, allocations: 43.38 kB / 0.4956 GB, free: 9.348 MB / 366.1 MB Notification: Performance of SimCode: time 1.592e-06/0.4091, allocations: 0 / 0.4956 GB, free: 9.348 MB / 366.1 MB Notification: Performance of Templates: time 0.2083/0.6174, allocations: 10.22 MB / 0.5056 GB, free: 106.3 MB / 366.1 MB