Notification: Performance of FrontEnd - loaded program: time 2.492e-05/2.51e-05, allocations: 4 kB / 339.4 MB, free: 4.594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2321, allocations: 44.51 MB / 383.9 MB, free: 79.07 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1039/0.336, allocations: 81.69 MB / 465.6 MB, free: 4.395 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.3363, allocations: 87.94 kB / 465.7 MB, free: 4.309 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04657/0.3829, allocations: 12.68 MB / 478.4 MB, free: 7.562 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.702e-06/0.383, allocations: 0 / 478.4 MB, free: 7.562 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.748e-05/0.383, allocations: 20 kB / 478.4 MB, free: 7.543 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.001794/0.3848, allocations: 0.8651 MB / 479.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3849, allocations: 16.03 kB / 479.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.3851, allocations: 79.06 kB / 479.3 MB, free: 6.531 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009192/0.386, allocations: 480.1 kB / 479.8 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.028e-05/0.3861, allocations: 33.31 kB / 479.8 MB, free: 5.984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.3862, allocations: 36 kB / 479.9 MB, free: 5.949 MB / 334.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001048/0.3873, allocations: 410.5 kB / 480.3 MB, free: 5.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.3885, allocations: 0.5459 MB / 480.8 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/0.3886, allocations: 3.953 kB / 480.8 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.721e-05/0.3887, allocations: 0 / 480.8 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.3887, allocations: 16 kB / 480.8 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004329/0.393, allocations: 2.198 MB / 483 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.3943, allocations: 0.4886 MB / 483.5 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006268/0.3949, allocations: 261.2 kB / 483.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.076e-05/0.395, allocations: 4.375 kB / 483.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007151/0.3957, allocations: 299.8 kB / 484.1 MB, free: 1.586 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 3.179e-06/0.3957, allocations: 0 / 484.1 MB, free: 1.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.001069/0.3968, allocations: 420.3 kB / 484.5 MB, free: 1.164 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.055e-05/0.3969, allocations: 137 kB / 484.6 MB, free: 1 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005665/0.3975, allocations: 353 kB / 485 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.36e-05/0.3976, allocations: 29.7 kB / 485 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003152/0.3979, allocations: 316.2 kB / 485.3 MB, free: 308 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.3981, allocations: 145.9 kB / 485.5 MB, free: 160 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.3982, allocations: 0 / 485.5 MB, free: 160 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.3984, allocations: 366.8 kB / 485.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000367/0.3988, allocations: 145.1 kB / 486 MB, free: 15.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005042/0.3993, allocations: 299.4 kB / 486.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.3997, allocations: 158 kB / 486.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.3997, allocations: 0 / 486.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001147/0.4008, allocations: 0.5038 MB / 486.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007997/0.4017, allocations: 1.657 MB / 488.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.4017, allocations: 4 kB / 488.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003798/0.4021, allocations: 84.77 kB / 488.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005225/0.4026, allocations: 107.8 kB / 488.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/0.4049, allocations: 1.691 MB / 490.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005921/0.4055, allocations: 71.61 kB / 490.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.973e-05/0.4055, allocations: 24.06 kB / 490.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.4056, allocations: 7.938 kB / 490.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001014/0.4066, allocations: 431.5 kB / 491 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.966e-06/0.4066, allocations: 4 kB / 491 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000297/0.4069, allocations: 72.83 kB / 491 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004662/0.4074, allocations: 99.81 kB / 491.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.4095, allocations: 1.686 MB / 492.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005406/0.4101, allocations: 59.72 kB / 492.9 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-05/0.4101, allocations: 23.98 kB / 492.9 MB, free: 8.254 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($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_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 (63): * Single equations (assignments): 62 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.000225/0.4104, allocations: 135.7 kB / 493 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.4105, allocations: 55.34 kB / 493.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.4107, allocations: 56.91 kB / 493.2 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.774e-06/0.4107, allocations: 11.94 kB / 493.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.632e-06/0.4107, allocations: 0 / 493.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.865e-06/0.4107, allocations: 4.031 kB / 493.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.413, allocations: 1.164 MB / 494.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.331e-06/0.413, allocations: 12.03 kB / 494.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004282/0.4135, allocations: 67.91 kB / 494.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003035/0.4138, allocations: 76.75 kB / 494.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.999e-05/0.4138, allocations: 0 / 494.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/0.4158, allocations: 1.592 MB / 496.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.825e-06/0.4159, allocations: 7.969 kB / 496.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008618/0.4245, allocations: 4.89 MB / 0.4892 GB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/0.4249, allocations: 168.5 kB / 0.4894 GB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.036e-05/0.425, allocations: 4.062 kB / 0.4894 GB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004943/0.4255, allocations: 43.95 kB / 0.4894 GB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/0.4257, allocations: 56.34 kB / 0.4895 GB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.712e-05/0.4257, allocations: 20 kB / 0.4895 GB, free: 15.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003995/0.4261, allocations: 258.9 kB / 0.4898 GB, free: 15.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.96e-07/0.4262, allocations: 0 / 0.4898 GB, free: 15.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001732/0.4279, allocations: 362.8 kB / 0.4901 GB, free: 14.84 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 18 (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_p.off,rectifier.thyristor_n.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_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 37 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002286/0.4281, allocations: 121.4 kB / 0.4902 GB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001817/0.43, allocations: 0.8851 MB / 0.4911 GB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.43, allocations: 4 kB / 0.4911 GB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006357/0.4307, allocations: 337.1 kB / 0.4914 GB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005497/0.4312, allocations: 58.38 kB / 0.4915 GB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/0.434, allocations: 1.277 MB / 0.4927 GB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007253/0.4347, allocations: 0.946 MB / 0.4936 GB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006059/0.4353, allocations: 104.3 kB / 0.4937 GB, free: 11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.4355, allocations: 43.42 kB / 0.4938 GB, free: 10.95 MB / 366.1 MB Notification: Performance of SimCode: time 3.635e-06/0.4355, allocations: 0 / 0.4938 GB, free: 10.95 MB / 366.1 MB Notification: Performance of Templates: time 0.02177/0.4573, allocations: 7.714 MB / 0.5013 GB, free: 3.25 MB / 366.1 MB