Notification: Performance of FrontEnd - loaded program: time 2.511e-05/2.522e-05, allocations: 4 kB / 338.6 MB, free: 5.477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2322, allocations: 44.53 MB / 383.1 MB, free: 78.57 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1145/0.3468, allocations: 80.92 MB / 464 MB, free: 5.309 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.3471, allocations: 83.94 kB / 464.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04387/0.391, allocations: 11.97 MB / 476.1 MB, free: 9.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.838e-06/0.391, allocations: 0 / 476.1 MB, free: 9.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.835e-05/0.3911, allocations: 12 kB / 476.1 MB, free: 9.191 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001698/0.3928, allocations: 0.8093 MB / 476.9 MB, free: 8.328 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3929, allocations: 12.03 kB / 476.9 MB, free: 8.316 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.393, allocations: 79.11 kB / 477 MB, free: 8.238 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009082/0.394, allocations: 472.5 kB / 477.4 MB, free: 7.734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.29e-05/0.3941, allocations: 25.31 kB / 477.5 MB, free: 7.711 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.3942, allocations: 32 kB / 477.5 MB, free: 7.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009931/0.3952, allocations: 382.5 kB / 477.9 MB, free: 7.305 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.3964, allocations: 0.5065 MB / 478.4 MB, free: 6.773 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.3965, allocations: 7.906 kB / 478.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.404e-05/0.3966, allocations: 0 / 478.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.3966, allocations: 19.95 kB / 478.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004959/0.4016, allocations: 2.084 MB / 480.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.4027, allocations: 422.3 kB / 480.9 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/0.4032, allocations: 212.4 kB / 481.1 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.111e-05/0.4033, allocations: 12.31 kB / 481.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006004/0.4039, allocations: 294.5 kB / 481.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 6.163e-06/0.404, allocations: 3.984 kB / 481.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.001013/0.405, allocations: 377.8 kB / 481.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.651e-05/0.4051, allocations: 144.4 kB / 481.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005893/0.4057, allocations: 349.2 kB / 482.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.453e-05/0.4058, allocations: 33.7 kB / 482.3 MB, free: 2.676 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002974/0.4061, allocations: 300.2 kB / 482.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.4062, allocations: 126.2 kB / 482.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.4063, allocations: 0 / 482.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.4065, allocations: 362.8 kB / 483.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/0.4068, allocations: 133.3 kB / 483.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004584/0.4073, allocations: 287.8 kB / 483.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003757/0.4077, allocations: 149.5 kB / 483.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.626e-06/0.4077, allocations: 7.891 kB / 483.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001155/0.4089, allocations: 493.4 kB / 484.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008276/0.4097, allocations: 1.656 MB / 485.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.4098, allocations: 4 kB / 485.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004798/0.4103, allocations: 84.81 kB / 485.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004856/0.4108, allocations: 91.83 kB / 485.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/0.4134, allocations: 1.799 MB / 487.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006632/0.4141, allocations: 75.7 kB / 487.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.465e-05/0.4141, allocations: 20 kB / 487.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.4142, allocations: 4 kB / 487.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009783/0.4151, allocations: 400.6 kB / 488.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.4152, allocations: 4 kB / 488.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003651/0.4155, allocations: 92.75 kB / 488.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/0.416, allocations: 75.89 kB / 488.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/0.4184, allocations: 1.815 MB / 490.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005717/0.419, allocations: 55.61 kB / 490.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-05/0.4191, allocations: 20 kB / 490.3 MB, free: 10.21 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 (56): * Single equations (assignments): 55 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002321/0.4193, allocations: 139.8 kB / 490.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.4195, allocations: 51.42 kB / 490.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.4196, allocations: 52.84 kB / 490.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.709e-06/0.4197, allocations: 4 kB / 490.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.036e-06/0.4197, allocations: 0 / 490.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.4197, allocations: 7.938 kB / 490.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.4219, allocations: 1.089 MB / 491.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.938e-06/0.4219, allocations: 0 / 491.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.4222, allocations: 43.92 kB / 491.7 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003379/0.4226, allocations: 76.77 kB / 491.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.433e-05/0.4226, allocations: 16.02 kB / 491.8 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002345/0.425, allocations: 1.693 MB / 493.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.132e-06/0.425, allocations: 3.984 kB / 493.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008054/0.4331, allocations: 4.649 MB / 498.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000267/0.4334, allocations: 160.5 kB / 498.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.443e-05/0.4335, allocations: 15.97 kB / 498.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000439/0.4339, allocations: 36.03 kB / 498.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.4341, allocations: 51.86 kB / 498.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.583e-05/0.4342, allocations: 19.98 kB / 498.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004088/0.4346, allocations: 259 kB / 498.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.55e-07/0.4346, allocations: 0 / 498.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001746/0.4364, allocations: 331 kB / 499 MB, free: 1.078 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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 (35): * Single equations (assignments): 29 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002349/0.4366, allocations: 133.1 kB / 499.1 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001788/0.4384, allocations: 0.8619 MB / 499.9 MB, free: 60 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.478e-06/0.4385, allocations: 0 / 499.9 MB, free: 60 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006353/0.4391, allocations: 333.2 kB / 0.4885 GB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005467/0.4397, allocations: 63.06 kB / 0.4886 GB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.442, allocations: 1.112 MB / 0.4897 GB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006733/0.4427, allocations: 0.93 MB / 0.4906 GB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005422/0.4433, allocations: 108.4 kB / 0.4907 GB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.4434, allocations: 32.5 kB / 0.4907 GB, free: 13.41 MB / 366.1 MB Notification: Performance of SimCode: time 1.253e-06/0.4434, allocations: 0 / 0.4907 GB, free: 13.41 MB / 366.1 MB Notification: Performance of Templates: time 0.02156/0.465, allocations: 7.593 MB / 0.4981 GB, free: 5.824 MB / 366.1 MB